mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 00:17:14 -04:00
[try to] detect go based on header
This commit is contained in:
@@ -2,7 +2,7 @@ filetype: go
|
|||||||
|
|
||||||
detect:
|
detect:
|
||||||
filename: "\\.go$"
|
filename: "\\.go$"
|
||||||
header: "^package\\s.*"
|
header: "(^package\\s.*)"
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
# Conditionals and control flow
|
# Conditionals and control flow
|
||||||
|
|||||||
Reference in New Issue
Block a user