mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 07:37:13 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,11 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["go"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: go
|
||||
|
||||
detect:
|
||||
filename: "\\.go$"
|
||||
header: "(^package\\s.*)"
|
||||
|
||||
rules:
|
||||
# Conditionals and control flow
|
||||
- special: "\\b(break|case|continue|default|go|goto|range|return)\\b"
|
||||
|
||||
Reference in New Issue
Block a user