mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 21:06:31 -04:00
Remove what remains of filetype auto-detection
This commit is contained in:
@@ -5,11 +5,6 @@ package syntax
|
||||
func init() {
|
||||
syntaxMap["python3"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filename: python3
|
||||
|
||||
detect:
|
||||
filename: "\\.py3$"
|
||||
header: "^#!.*/(env +)?python3$"
|
||||
|
||||
rules:
|
||||
# built-in objects
|
||||
- constant: "\\b(None|self|True|False)\\b"
|
||||
|
||||
Reference in New Issue
Block a user