mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,10 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["caddyfile"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filetype: caddyfile
|
||||
|
||||
detect:
|
||||
filename: "Caddyfile"
|
||||
|
||||
rules:
|
||||
- identifier: "^\\s*\\S+(\\s|$)"
|
||||
- type: "^([\\w.:/-]+,? ?)+[,{]$"
|
||||
|
||||
Reference in New Issue
Block a user