mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-06 08:57:15 -04:00
Rename "filename" to "filetype" for Python
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ package syntax
|
|||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
syntaxMap["python"] = &lazySyntax{init: func() []byte {
|
syntaxMap["python"] = &lazySyntax{init: func() []byte {
|
||||||
return []byte(`filename: python
|
return []byte(`filetype: python
|
||||||
rules:
|
rules:
|
||||||
- constant: "\\b(None|self|True|False)\\b"
|
- constant: "\\b(None|self|True|False)\\b"
|
||||||
- constant: "\\b(__bases__|__builtin__|__class__|__debug__|__dict__|__doc__|__file__|__members__|__methods__|__name__|__self__)\\b"
|
- constant: "\\b(__bases__|__builtin__|__class__|__debug__|__dict__|__doc__|__file__|__members__|__methods__|__name__|__self__)\\b"
|
||||||
|
|||||||
Reference in New Issue
Block a user