Minimize: Remove blank lines and comments from syntax layers

This commit is contained in:
2025-06-14 14:21:30 -04:00
parent 732f94c3cf
commit da28e592f0
34 changed files with 0 additions and 363 deletions
-8
View File
@@ -8,34 +8,26 @@ func init() {
rules:
- statement: "(.*)[[:space:]]="
- special: "="
# Bracket thingies
- special: "(\\[|\\])"
# Numbers and strings
- constant.number: "\\b([0-9]+|0x[0-9a-fA-F]*)\\b|'.'"
- constant.number: "\\\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
- constant.string:
start: "\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "` + "`" + `"
end: "` + "`" + `"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"