mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-03 23:57:13 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["fortran"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: fortran
|
||||
|
||||
detect:
|
||||
filename: "\\.([Ff]|[Ff]90|[Ff]95|[Ff][Oo][Rr])$"
|
||||
|
||||
rules:
|
||||
- type: "(?i)\\b(action|advance|all|allocatable|allocated|any|apostrophe)\\b"
|
||||
- type: "(?i)\\b(append|asis|assign|assignment|associated|character|common)\\b"
|
||||
|
||||
Reference in New Issue
Block a user