nvim-treesitter/queries/kusto/highlights.scm
Willem-J-an 629cae1f0f
feat(kusto): add kusto parser and highlights (#5632)
* feat(kusto): add kusto parser and highlights

* feat(kusto): improve highlights

* Update queries/kusto/highlights.scm

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>

* chore(kusto): remove unneeded filetype

---------

Co-authored-by: Willem Jan Noort <noortw01@heiway.net>
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
2023-11-08 09:11:19 +00:00

52 lines
736 B
Scheme

(identifier) @variable
(let_keyword) @keyword
(function_call
(identifier) @function.call)
[
(type_cast_function)
(to_scalar_function)
(between_function)
(datatable_function)
] @function.call
(typed_parameter
(identifier) @parameter)
(function_arguments (identifier) @parameter)
[
(binary_operator)
(compound_keywords)
(operator)
(range_operator)
(join_operator)
(sub_operator)
(to_operator)
(mv_apply_operator)
(sort_keyword)
] @keyword.operator
(string) @string
(number) @number
(bool) @boolean
(null) @constant.builtin
(comment) @comment @spell
(type) @type
(join_types) @type.qualifier
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
[
","
":"
(pipe)
] @punctuation.delimiter