mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-29 05:16:26 -04:00
Rename "python3" to "python"
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
//go:build stxPython3 || stxAll
|
||||
//go:build stxPython || stxAll
|
||||
|
||||
package syntax
|
||||
|
||||
func init() {
|
||||
syntaxMap["python3"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filename: python3
|
||||
syntaxMap["python"] = &lazySyntax{init: func() []byte {
|
||||
return []byte(`filename: python
|
||||
rules:
|
||||
- constant: "\\b(None|self|True|False)\\b"
|
||||
- constant: "\\b(__bases__|__builtin__|__class__|__debug__|__dict__|__doc__|__file__|__members__|__methods__|__name__|__self__)\\b"
|
||||
Reference in New Issue
Block a user