helix/runtime/queries/nginx/highlights.scm
Nikita Revenco 0fd4a4aae2
feat: Nginx support (#12309)
Co-authored-by: Denis Gruzdev <codingjerk@gmail.com>
2024-12-24 13:22:29 -06:00

45 lines
515 B
Scheme

(comment) @comment
(block_directive
(directive) @type)
[
"{"
"}"
"("
")"
"["
"]"
] @punctuation.bracket
(simple_directive
(directive) @function)
[
";"
] @punctuation.delimiter
((generic) @keyword
(#any-of? @keyword
"on"
"off"
"any"
"auto"))
(modifier) @operator
(generic) @variable
(string) @string
(number) @constant.numeric
(metric) @constant.numeric
(variable) @variable.parameter
(regex) @string
(modifier) @keyword.operator
(lua_block_directive
"access_by_lua_block" @function)