mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 20:49:47 +03:00
parent
fe0dce0960
commit
4aae5ca451
File diff suppressed because one or more lines are too long
@ -2,25 +2,19 @@
|
|||||||
syntax "dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
|
syntax "dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
|
||||||
|
|
||||||
## Keywords
|
## Keywords
|
||||||
red (i) "^(FROM|MAINTAINER|RUN|CMD|LABEL|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ONBUILD)[[:space:]]"
|
color keyword (i) "^(FROM|MAINTAINER|RUN|CMD|LABEL|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ONBUILD)[[:space:]]"
|
||||||
|
|
||||||
## Brackets & parenthesis
|
## Brackets & parenthesis
|
||||||
color brightgreen "(\(|\)|\[|\])"
|
color statement "(\(|\)|\[|\])"
|
||||||
|
|
||||||
## Double ampersand
|
## Double ampersand
|
||||||
color brightmagenta "&&"
|
color special "&&"
|
||||||
|
|
||||||
## Comments
|
## Comments
|
||||||
cyan (i) "^[[:space:]]*#.*$"
|
color comment (i) "^[[:space:]]*#.*$"
|
||||||
|
|
||||||
## Blank space at EOL
|
|
||||||
color ,green "[[:space:]]+$"
|
|
||||||
|
|
||||||
## Strings, single-quoted
|
## Strings, single-quoted
|
||||||
color brightwhite "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
|
color constant.string "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
|
||||||
|
|
||||||
## Strings, double-quoted
|
## Strings, double-quoted
|
||||||
color brightwhite ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
|
color constant.string ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
|
||||||
|
|
||||||
## Single and double quotes
|
|
||||||
color brightyellow "('|\")"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user