mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-29 05:16:26 -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 {
|
||||
return []byte(`filetype: ini
|
||||
rules:
|
||||
- constant.bool.true: "\\btrue\\b"
|
||||
- constant.bool.false: "\\bfalse\\b"
|
||||
- constant.bool: "\\b(true|false)\\b"
|
||||
- identifier: "^[[:space:]]*[^=]*="
|
||||
- special: "^[[:space:]]*\\[.*\\]$"
|
||||
- statement: "[=;]"
|
||||
|
||||
Reference in New Issue
Block a user