highlights(dockerfile): add several highlights

This commit is contained in:
ObserverOfTime 2022-09-18 20:48:41 +03:00 committed by Stephan Seitz
parent b74bd776f2
commit c6a81292f7

View file

@ -47,4 +47,17 @@
((variable) @constant
(#lua-match? @constant "^[A-Z][A-Z_0-9]*$"))
(arg_instruction
. (unquoted_string) @property)
(env_instruction
(env_pair . (unquoted_string) @property))
(expose_instruction
(expose_port) @number)
((stopsignal_instruction) @number
(#match? @number "[0-9][0-9]?$"))
((stopsignal_instruction) @constant.builtin
(#match? @constant.builtin "SIG(ABRT|HUP|INT|KILL|QUIT|STOP|TERM|TSTP)$"))