mirror of
https://github.com/helix-editor/helix
synced 2026-05-04 05:30:40 +02:00
9e6c2a2774
* highlights(vim): fix `@keyword.control.excpetion` capture name * highlights(pascal, php-only): fix captures for numbers * highlights(graphql): `@constants.*` => `@constant.*` * highlights(bass): `@keyword.builtin` => `@keyword` `@keyword.builtin` is not an actual helix theme scope, and nvim-treesitter just uses `@keyword` for that, so align with that * highlights(v): `@keyword.control.function` => `@keyword.function` * highlights(lean, latex): `@include` => `@keyword.control.import` * highlights(latex): `@markup.link.uri` => `@markup.link.url` * highlights(ink): `@commment` => `@comment` * highlights(vhdl): `@punctuation.delimiters` => `@punctuation.delimiter` * highlights(bicep): `@constant.number` => `@constant.numeric` * higlights(haskell): `@variable.member` => `@variable.other.member` * highlights(chuck): fix typo in `@keyword.control.conditional` * highlights(ripple): `@number` => `@constant.numeric` * highlights(t32): use the correct `@keyword.*` captures * highlights(scheme): use correct captures for conditional keywords * highlights(elixir, hurl, latex): use `@string.regexp`
151 lines
2.0 KiB
Scheme
151 lines
2.0 KiB
Scheme
[
|
|
"[QueryStringParams]"
|
|
"[Query]"
|
|
"[FormParams]"
|
|
"[Form]"
|
|
"[MultipartFormData]"
|
|
"[Multipart]"
|
|
"[Cookies]"
|
|
"[Captures]"
|
|
"[Asserts]"
|
|
"[Options]"
|
|
"[BasicAuth]"
|
|
] @attribute
|
|
|
|
(comment) @comment
|
|
|
|
[
|
|
(key_string)
|
|
(json_key_string)
|
|
] @variable.other.member
|
|
|
|
(value_string) @string
|
|
(quoted_string) @string
|
|
(json_string) @string
|
|
(file_value) @string.special.path
|
|
(regex) @string.regexp
|
|
|
|
[
|
|
"\\"
|
|
(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)
|
|
] @constant.character.escape
|
|
|
|
(method) @type.builtin
|
|
(multiline_string_type) @type
|
|
|
|
[
|
|
"status"
|
|
"url"
|
|
"header"
|
|
"cookie"
|
|
"body"
|
|
"xpath"
|
|
"jsonpath"
|
|
"regex"
|
|
"variable"
|
|
"duration"
|
|
"sha256"
|
|
"md5"
|
|
"bytes"
|
|
"daysAfterNow"
|
|
"daysBeforeNow"
|
|
"htmlEscape"
|
|
"htmlUnescape"
|
|
"decode"
|
|
"format"
|
|
"nth"
|
|
"replace"
|
|
"split"
|
|
"toDate"
|
|
"toInt"
|
|
"urlEncode"
|
|
"urlDecode"
|
|
"count"
|
|
] @function.builtin
|
|
|
|
(filter) @attribute
|
|
|
|
(version) @string.special
|
|
[
|
|
"null"
|
|
"cacert"
|
|
"compressed"
|
|
"location"
|
|
"insecure"
|
|
"path-as-is"
|
|
"proxy"
|
|
"max-redirs"
|
|
"retry"
|
|
"retry-interval"
|
|
"retry-max-count"
|
|
(variable_option "variable")
|
|
"verbose"
|
|
"very-verbose"
|
|
] @constant.builtin
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
|
|
(variable_name) @variable
|
|
|
|
[
|
|
"not"
|
|
"equals"
|
|
"=="
|
|
"notEquals"
|
|
"!="
|
|
"greaterThan"
|
|
">"
|
|
"greaterThanOrEquals"
|
|
">="
|
|
"lessThan"
|
|
"<"
|
|
"lessThanOrEquals"
|
|
"<="
|
|
"startsWith"
|
|
"endsWith"
|
|
"contains"
|
|
"matches"
|
|
"exists"
|
|
"includes"
|
|
"isInteger"
|
|
"isFloat"
|
|
"isBoolean"
|
|
"isString"
|
|
"isCollection"
|
|
"isNumber"
|
|
"isIsoDate"
|
|
"isEmpty"
|
|
] @keyword.operator
|
|
|
|
(integer) @constant.numeric.integer
|
|
(float) @constant.numeric.float
|
|
(status) @constant.numeric
|
|
(json_number) @constant.numeric.float
|
|
|
|
[
|
|
":"
|
|
","
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
"{{"
|
|
"}}"
|
|
] @punctuation.special
|
|
|
|
[
|
|
"base64,"
|
|
"file,"
|
|
"hex,"
|
|
] @string.special
|