mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 21:06:31 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["java"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: java
|
||||
|
||||
detect:
|
||||
filename: "\\.java$"
|
||||
|
||||
rules:
|
||||
- type: "\\b(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\\b"
|
||||
- statement: "\\b(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\\b"
|
||||
|
||||
Reference in New Issue
Block a user