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
-9
View File
@@ -6,29 +6,20 @@ func init() {
syntaxMap["dockerfile"] = &lazySyntax{init: func() []byte {
return []byte(`filetype: dockerfile
rules:
## Keywords
- keyword: "(?i)^(FROM|MAINTAINER|RUN|CMD|LABEL|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ONBUILD|ARG|HEALTHCHECK|STOPSIGNAL|SHELL)[[:space:]]"
## Brackets & parenthesis
- statement: "(\\(|\\)|\\[|\\])"
## Double ampersand
- special: "&&"
## Comments
- comment:
start: "#"
end: "$"
rules:
- todo: "(TODO|XXX|FIXME):?"
- constant.string:
start: "\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"