Merge "constant.bool.true" and "constant.bool.false" to reduce complexities

This commit is contained in:
2025-06-15 14:33:21 -04:00
parent 829630152c
commit 6fa81cf80a
+1 -2
View File
@@ -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: "[=;]"