mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 11:20:07 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
111
runtime/queries/liquidsoap/highlights.scm
Normal file
111
runtime/queries/liquidsoap/highlights.scm
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
(var) @variable
|
||||
|
||||
(op) @operator
|
||||
|
||||
[
|
||||
"and"
|
||||
"or"
|
||||
"not"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
"def"
|
||||
"fun"
|
||||
"def_end"
|
||||
] @keyword.function
|
||||
|
||||
(let_decoration) @keyword.coroutine
|
||||
|
||||
[
|
||||
"open"
|
||||
"begin"
|
||||
"block_end"
|
||||
"let"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"while"
|
||||
"do"
|
||||
"to"
|
||||
"for"
|
||||
"for_end"
|
||||
"while_end"
|
||||
] @keyword.repeat
|
||||
|
||||
[
|
||||
"if"
|
||||
"then"
|
||||
"elsif"
|
||||
"else"
|
||||
"if_end"
|
||||
] @keyword.conditional
|
||||
|
||||
[
|
||||
"try"
|
||||
"catch"
|
||||
"try_end"
|
||||
] @keyword.exception
|
||||
|
||||
(inline_if
|
||||
[
|
||||
"?"
|
||||
":"
|
||||
] @keyword.conditional.ternary)
|
||||
|
||||
[
|
||||
"%ifdef"
|
||||
"%ifndef"
|
||||
"%ifencoder"
|
||||
"%ifnencoder"
|
||||
"%ifversion"
|
||||
"%else"
|
||||
"%endif"
|
||||
"%argsof"
|
||||
"%include"
|
||||
] @keyword.directive
|
||||
|
||||
(encoder_name) @constant.builtin
|
||||
|
||||
(anonymous_argument
|
||||
(var) @variable.parameter)
|
||||
|
||||
(labeled_argument
|
||||
label: (var) @variable.parameter)
|
||||
|
||||
"." @punctuation.delimiter
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
(app
|
||||
name: (var) @function.call)
|
||||
|
||||
(method) @function.method
|
||||
|
||||
(method_app) @function.method.call
|
||||
|
||||
(string) @string
|
||||
|
||||
(string_interpolation
|
||||
[
|
||||
"#{"
|
||||
"}"
|
||||
] @punctuation.special)
|
||||
|
||||
(integer) @number
|
||||
|
||||
(float) @number.float
|
||||
|
||||
(bool) @boolean
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(regexp) @string.regexp
|
||||
|
||||
(type) @type
|
||||
Loading…
Add table
Add a link
Reference in a new issue