This is the first push to this repo with my dotfiles
[dotfilesold/.git] / .nano / Dockerfile.nanorc
1 ## Syntax highlighting for Dockerfiles
2 syntax "Dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
3
4 ## Keywords
5 icolor red "^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)[[:space:]]"
6
7 ## Brackets & parenthesis
8 color brightgreen "(\(|\)|\[|\])"
9
10 ## Double ampersand
11 color brightmagenta "&&"
12
13 ## Comments
14 icolor cyan "^[[:space:]]*#.*$"
15
16 ## Blank space at EOL
17 color ,green "[[:space:]]+$"
18
19 ## Strings, single-quoted
20 color brightwhite "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
21
22 ## Strings, double-quoted
23 color brightwhite ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
24
25 ## Single and double quotes
26 color brightyellow "('|\")"