mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 16:37:20 -04:00
Merge "constant.bool.true" and "constant.bool.false" to reduce complexities
This commit is contained in:
+1
-2
@@ -6,8 +6,7 @@ func init() {
|
|||||||
syntaxMap["ini"] = &lazySyntax{init: func() []byte {
|
syntaxMap["ini"] = &lazySyntax{init: func() []byte {
|
||||||
return []byte(`filetype: ini
|
return []byte(`filetype: ini
|
||||||
rules:
|
rules:
|
||||||
- constant.bool.true: "\\btrue\\b"
|
- constant.bool: "\\b(true|false)\\b"
|
||||||
- constant.bool.false: "\\bfalse\\b"
|
|
||||||
- identifier: "^[[:space:]]*[^=]*="
|
- identifier: "^[[:space:]]*[^=]*="
|
||||||
- special: "^[[:space:]]*\\[.*\\]$"
|
- special: "^[[:space:]]*\\[.*\\]$"
|
||||||
- statement: "[=;]"
|
- statement: "[=;]"
|
||||||
|
|||||||
Reference in New Issue
Block a user