mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-01 14:47:13 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["lua"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: lua
|
||||
|
||||
detect:
|
||||
filename: "\\.lua$"
|
||||
|
||||
rules:
|
||||
- statement: "\\b(do|end|while|repeat|until|if|elseif|then|else|for|in|function|local|return)\\b"
|
||||
- statement: "\\b(not|and|or)\\b"
|
||||
|
||||
Reference in New Issue
Block a user