mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
highlights(dockerfile): add several highlights
This commit is contained in:
parent
b74bd776f2
commit
c6a81292f7
1 changed files with 13 additions and 0 deletions
|
|
@ -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)$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue