helix/runtime/queries/prolog/highlights.scm

44 lines
671 B
Scheme

(comment) @comment
(atom) @constant
((atom) @constant.builtin.boolean
(#any-of? @constant.builtin.boolean "true" "false"))
(functional_notation
function: (atom) @function)
(integer) @constant.numeric.integer
(float_number) @constant.numeric.float
(directive_head) @operator
(operator_notation
operator: _ @operator)
[
(open)
(open_ct)
(close)
(open_list)
"|"
(close_list)
(open_curly)
(close_curly)
] @punctuation.bracket
[
(arg_list_separator)
(comma)
(end)
(list_notation_separator)
] @punctuation.delimiter
(operator_notation
operator: (semicolon) @punctuation.delimiter)
(double_quoted_list_notation) @string
(variable_term) @variable