mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 15:47:14 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["cmake"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: cmake
|
||||
|
||||
detect:
|
||||
filename: "(CMakeLists\\.txt|\\.cmake)$"
|
||||
|
||||
rules:
|
||||
- identifier.var: "^[[:space:]]*[A-Z0-9_]+"
|
||||
- preproc: "^[[:space:]]*(include|include_directories|include_external_msproject)\\b"
|
||||
|
||||
Reference in New Issue
Block a user