mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-01 06:46:28 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["rust"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: rust
|
||||
|
||||
detect:
|
||||
filename: "\\.rs$"
|
||||
|
||||
rules:
|
||||
# function definition
|
||||
- identifier: "fn [a-z0-9_]+"
|
||||
|
||||
Reference in New Issue
Block a user