Remove what remains of filetype auto-detection

This commit is contained in:
2025-06-14 14:06:10 -04:00
parent c884c602e3
commit 732f94c3cf
46 changed files with 2 additions and 220 deletions
-4
View File
@@ -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"