Regenerate nvim config
This commit is contained in:
148
config/neovim/store/nvim-treesitter/queries/hurl/highlights.scm
Normal file
148
config/neovim/store/nvim-treesitter/queries/hurl/highlights.scm
Normal file
@ -0,0 +1,148 @@
|
||||
; highlights.scm
|
||||
[
|
||||
(key_string)
|
||||
(json_key_string)
|
||||
] @property
|
||||
|
||||
[
|
||||
"[QueryStringParams]"
|
||||
"[FormParams]"
|
||||
"[MultipartFormData]"
|
||||
"[Cookies]"
|
||||
"[Captures]"
|
||||
"[Asserts]"
|
||||
"[Options]"
|
||||
"[BasicAuth]"
|
||||
] @module
|
||||
|
||||
[
|
||||
"\\"
|
||||
(regex_escaped_char)
|
||||
(quoted_string_escaped_char)
|
||||
(key_string_escaped_char)
|
||||
(value_string_escaped_char)
|
||||
(oneline_string_escaped_char)
|
||||
(multiline_string_escaped_char)
|
||||
(filename_escaped_char)
|
||||
(json_string_escaped_char)
|
||||
] @string.escape
|
||||
|
||||
[
|
||||
"status"
|
||||
"url"
|
||||
"header"
|
||||
"cookie"
|
||||
"body"
|
||||
"xpath"
|
||||
"jsonpath"
|
||||
"regex"
|
||||
"variable"
|
||||
"duration"
|
||||
"sha256"
|
||||
"md5"
|
||||
"bytes"
|
||||
] @function.builtin
|
||||
|
||||
[
|
||||
"null"
|
||||
"cacert"
|
||||
"compressed"
|
||||
"location"
|
||||
"insecure"
|
||||
"path-as-is"
|
||||
"proxy"
|
||||
"max-redirs"
|
||||
"retry"
|
||||
"retry-interval"
|
||||
"retry-max-count"
|
||||
"verbose"
|
||||
"very-verbose"
|
||||
] @constant.builtin
|
||||
|
||||
(variable_option
|
||||
"variable" @constant.builtin)
|
||||
|
||||
(boolean) @boolean
|
||||
|
||||
(variable_name) @variable
|
||||
|
||||
[
|
||||
"not"
|
||||
"equals"
|
||||
"notEquals"
|
||||
"greaterThan"
|
||||
"greaterThanOrEquals"
|
||||
"lessThan"
|
||||
"lessThanOrEquals"
|
||||
"startsWith"
|
||||
"endsWith"
|
||||
"contains"
|
||||
"matches"
|
||||
"exists"
|
||||
"includes"
|
||||
"isInteger"
|
||||
"isFloat"
|
||||
"isBoolean"
|
||||
"isString"
|
||||
"isCollection"
|
||||
] @keyword.operator
|
||||
|
||||
[
|
||||
"=="
|
||||
"!="
|
||||
">"
|
||||
">="
|
||||
"<"
|
||||
"<="
|
||||
] @operator
|
||||
|
||||
[
|
||||
(integer)
|
||||
(status)
|
||||
] @number
|
||||
|
||||
[
|
||||
(float)
|
||||
(json_number)
|
||||
] @number.float
|
||||
|
||||
[
|
||||
":"
|
||||
","
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
"{{"
|
||||
"}}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
(value_string)
|
||||
(quoted_string)
|
||||
(json_string)
|
||||
] @string
|
||||
|
||||
[
|
||||
"base64,"
|
||||
"hex,"
|
||||
(version)
|
||||
] @string.special
|
||||
|
||||
[
|
||||
"file,"
|
||||
(file_value)
|
||||
] @string.special.path
|
||||
|
||||
(regex) @string.regexp
|
||||
|
||||
(multiline_string_type) @type
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(filter) @attribute
|
||||
|
||||
(method) @type.builtin
|
||||
Reference in New Issue
Block a user