2023-02-27 20:21:40 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier)
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
(argument
|
|
|
|
|
(unquoted_argument)) @constant)
|
|
|
|
|
(#lua-match? @constant "^[%u@][%u%d_]+$"))
|
2023-02-27 20:21:40 +01:00
|
|
|
|
2021-06-24 22:23:11 +02:00
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(quoted_argument)
|
|
|
|
|
(bracket_argument)
|
2021-06-25 13:10:23 +02:00
|
|
|
] @string
|
2021-06-20 21:49:34 +02:00
|
|
|
|
2021-09-06 13:43:29 +02:00
|
|
|
(variable_ref) @none
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2021-09-06 13:43:29 +02:00
|
|
|
(variable) @variable
|
2021-06-20 21:49:34 +02:00
|
|
|
|
2021-06-27 22:23:15 +02:00
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(bracket_comment)
|
|
|
|
|
(line_comment)
|
2022-09-26 10:19:02 +01:00
|
|
|
] @comment @spell
|
2021-06-27 22:23:15 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @function)
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
"ENV"
|
|
|
|
|
"CACHE"
|
2024-01-09 11:50:31 +02:00
|
|
|
] @module
|
2021-06-27 22:23:15 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
[
|
|
|
|
|
"$"
|
|
|
|
|
"{"
|
|
|
|
|
"}"
|
|
|
|
|
] @punctuation.special
|
2021-06-30 21:03:17 +02:00
|
|
|
|
2021-06-24 22:23:11 +02:00
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
"("
|
|
|
|
|
")"
|
|
|
|
|
] @punctuation.bracket
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
(function)
|
|
|
|
|
(endfunction)
|
|
|
|
|
(macro)
|
|
|
|
|
(endmacro)
|
2021-09-06 11:20:00 +02:00
|
|
|
] @keyword.function
|
2021-06-24 22:23:11 +02:00
|
|
|
|
|
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(if)
|
|
|
|
|
(elseif)
|
|
|
|
|
(else)
|
|
|
|
|
(endif)
|
feat!: align standard captures with upstream
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.
Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.
Specifically:
* tree-sitter "standard capture names"
(https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):
- `@parameter` -> `@variable.parameter`
- `@field` -> `@variable.member`
- `@namespace` -> `@module`
- `@float` -> `@number.float`
- `@symbol` -> `@string.special.symbol`
- `@string.regex` -> `@string.regexp`
- `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
- `@text.title` -> `@markup.heading`
- `@text.literal` -> `@markup.raw`
- `@text.reference` -> `@markup.link`
- `@text.uri` -> `@markup.link.url` (in markup links)
- `@string.special` -> `@markup.link.label` (non-url links)
- `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`)
* Helix captures
(https://docs.helix-editor.com/master/themes.html#syntax-highlighting):
- `@method` -> `@function.method`
- `@method.call` -> `@function.method.call`
- `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}`
- `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}`
- `@text.uri` -> `@string.special.url` (outside markup)
- `@preproc` -> `@keyword.directive`
- `@define` -> `@keyword.directive`(`.define`?)
- `@storageclass` -> `@keyword.storage`
- `@conditional` -> `@keyword.conditional`
- `@debug` -> `@keyword.debug`
- `@exception` -> `@keyword.exception`
- `@include` -> `@keyword.import`
- `@repeat` -> `@keyword.repeat`
* cleanup
- remove some redundant `@conceal` (but still allow it for conceal-only patterns)
- remove obsolete `@error` (syntax linting is out of scope for this repo)
- sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
|
|
|
] @keyword.conditional
|
2021-06-24 22:23:11 +02:00
|
|
|
|
|
|
|
|
[
|
2024-01-06 15:05:50 +09:00
|
|
|
(foreach)
|
|
|
|
|
(endforeach)
|
|
|
|
|
(while)
|
|
|
|
|
(endwhile)
|
feat!: align standard captures with upstream
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.
Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.
Specifically:
* tree-sitter "standard capture names"
(https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):
- `@parameter` -> `@variable.parameter`
- `@field` -> `@variable.member`
- `@namespace` -> `@module`
- `@float` -> `@number.float`
- `@symbol` -> `@string.special.symbol`
- `@string.regex` -> `@string.regexp`
- `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
- `@text.title` -> `@markup.heading`
- `@text.literal` -> `@markup.raw`
- `@text.reference` -> `@markup.link`
- `@text.uri` -> `@markup.link.url` (in markup links)
- `@string.special` -> `@markup.link.label` (non-url links)
- `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`)
* Helix captures
(https://docs.helix-editor.com/master/themes.html#syntax-highlighting):
- `@method` -> `@function.method`
- `@method.call` -> `@function.method.call`
- `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}`
- `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}`
- `@text.uri` -> `@string.special.url` (outside markup)
- `@preproc` -> `@keyword.directive`
- `@define` -> `@keyword.directive`(`.define`?)
- `@storageclass` -> `@keyword.storage`
- `@conditional` -> `@keyword.conditional`
- `@debug` -> `@keyword.debug`
- `@exception` -> `@keyword.exception`
- `@include` -> `@keyword.import`
- `@repeat` -> `@keyword.repeat`
* cleanup
- remove some redundant `@conceal` (but still allow it for conceal-only patterns)
- remove obsolete `@error` (syntax linting is out of scope for this repo)
- sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
|
|
|
] @keyword.repeat
|
2021-06-20 21:49:34 +02:00
|
|
|
|
2022-12-05 23:17:19 +01:00
|
|
|
(normal_command
|
feat!: align standard captures with upstream
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.
Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.
Specifically:
* tree-sitter "standard capture names"
(https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):
- `@parameter` -> `@variable.parameter`
- `@field` -> `@variable.member`
- `@namespace` -> `@module`
- `@float` -> `@number.float`
- `@symbol` -> `@string.special.symbol`
- `@string.regex` -> `@string.regexp`
- `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
- `@text.title` -> `@markup.heading`
- `@text.literal` -> `@markup.raw`
- `@text.reference` -> `@markup.link`
- `@text.uri` -> `@markup.link.url` (in markup links)
- `@string.special` -> `@markup.link.label` (non-url links)
- `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`)
* Helix captures
(https://docs.helix-editor.com/master/themes.html#syntax-highlighting):
- `@method` -> `@function.method`
- `@method.call` -> `@function.method.call`
- `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}`
- `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}`
- `@text.uri` -> `@string.special.url` (outside markup)
- `@preproc` -> `@keyword.directive`
- `@define` -> `@keyword.directive`(`.define`?)
- `@storageclass` -> `@keyword.storage`
- `@conditional` -> `@keyword.conditional`
- `@debug` -> `@keyword.debug`
- `@exception` -> `@keyword.exception`
- `@include` -> `@keyword.import`
- `@repeat` -> `@keyword.repeat`
* cleanup
- remove some redundant `@conceal` (but still allow it for conceal-only patterns)
- remove obsolete `@error` (syntax linting is out of scope for this repo)
- sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
|
|
|
(identifier) @keyword.repeat
|
2024-01-06 15:05:50 +09:00
|
|
|
(#match? @keyword.repeat "\\c^(continue|break)$"))
|
|
|
|
|
|
2022-12-05 23:17:19 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @keyword.return
|
2024-01-06 15:05:50 +09:00
|
|
|
(#match? @keyword.return "\\c^return$"))
|
2022-12-05 23:17:19 +01:00
|
|
|
|
2021-09-08 22:55:52 +02:00
|
|
|
(function_command
|
|
|
|
|
(function)
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @function
|
|
|
|
|
(argument)* @variable.parameter))
|
2021-09-08 22:55:52 +02:00
|
|
|
|
|
|
|
|
(macro_command
|
|
|
|
|
(macro)
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @function.macro
|
|
|
|
|
(argument)* @variable.parameter))
|
2021-09-08 22:55:52 +02:00
|
|
|
|
2022-12-05 23:17:19 +01:00
|
|
|
(block_def
|
|
|
|
|
(block_command
|
|
|
|
|
(block) @function.builtin
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
(argument
|
|
|
|
|
(unquoted_argument) @constant))
|
|
|
|
|
(#any-of? @constant "SCOPE_FOR" "POLICIES" "VARIABLES" "PROPAGATE"))
|
|
|
|
|
(endblock_command
|
|
|
|
|
(endblock) @function.builtin))
|
|
|
|
|
|
2023-06-28 15:19:58 +00:00
|
|
|
;
|
2022-12-09 00:21:33 +01:00
|
|
|
((argument) @boolean
|
2024-01-06 15:05:50 +09:00
|
|
|
(#match? @boolean "\\c^(1|on|yes|true|y|0|off|no|false|n|ignore|notfound|.*-notfound)$"))
|
|
|
|
|
|
2023-06-28 15:19:58 +00:00
|
|
|
;
|
2022-12-09 00:21:33 +01:00
|
|
|
(if_command
|
|
|
|
|
(if)
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
(argument) @keyword.operator)
|
2024-02-23 17:42:01 +09:00
|
|
|
(#any-of? @keyword.operator
|
|
|
|
|
"NOT" "AND" "OR" "COMMAND" "POLICY" "TARGET" "TEST" "DEFINED" "IN_LIST" "EXISTS" "IS_NEWER_THAN"
|
|
|
|
|
"IS_DIRECTORY" "IS_SYMLINK" "IS_ABSOLUTE" "MATCHES" "LESS" "GREATER" "EQUAL" "LESS_EQUAL"
|
|
|
|
|
"GREATER_EQUAL" "STRLESS" "STRGREATER" "STREQUAL" "STRLESS_EQUAL" "STRGREATER_EQUAL"
|
|
|
|
|
"VERSION_LESS" "VERSION_GREATER" "VERSION_EQUAL" "VERSION_LESS_EQUAL" "VERSION_GREATER_EQUAL"))
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-02-27 16:55:01 +00:00
|
|
|
(elseif_command
|
|
|
|
|
(elseif)
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
(argument) @keyword.operator)
|
2024-02-23 17:42:01 +09:00
|
|
|
(#any-of? @keyword.operator
|
|
|
|
|
"NOT" "AND" "OR" "COMMAND" "POLICY" "TARGET" "TEST" "DEFINED" "IN_LIST" "EXISTS" "IS_NEWER_THAN"
|
|
|
|
|
"IS_DIRECTORY" "IS_SYMLINK" "IS_ABSOLUTE" "MATCHES" "LESS" "GREATER" "EQUAL" "LESS_EQUAL"
|
|
|
|
|
"GREATER_EQUAL" "STRLESS" "STRGREATER" "STREQUAL" "STRLESS_EQUAL" "STRGREATER_EQUAL"
|
|
|
|
|
"VERSION_LESS" "VERSION_GREATER" "VERSION_EQUAL" "VERSION_LESS_EQUAL" "VERSION_GREATER_EQUAL"))
|
2022-12-09 00:21:33 +01:00
|
|
|
|
2021-09-09 22:01:56 +02:00
|
|
|
(normal_command
|
2022-02-05 00:13:08 +01:00
|
|
|
(identifier) @function.builtin
|
2024-02-23 17:42:01 +09:00
|
|
|
(#match? @function.builtin
|
|
|
|
|
"\\c^(cmake_host_system_information|cmake_language|cmake_minimum_required|cmake_parse_arguments|cmake_path|cmake_policy|configure_file|execute_process|file|find_file|find_library|find_package|find_path|find_program|foreach|get_cmake_property|get_directory_property|get_filename_component|get_property|include|include_guard|list|macro|mark_as_advanced|math|message|option|separate_arguments|set|set_directory_properties|set_property|site_name|string|unset|variable_watch|add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|build_command|create_test_sourcelist|define_property|enable_language|enable_testing|export|fltk_wrap_ui|get_source_file_property|get_target_property|get_test_property|include_directories|include_external_msproject|include_regular_expression|install|link_directories|link_libraries|load_cache|project|remove_definitions|set_source_files_properties|set_target_properties|set_tests_properties|source_group|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_precompile_headers|target_sources|try_compile|try_run|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload)$"))
|
2022-12-09 00:21:33 +01:00
|
|
|
|
|
|
|
|
(normal_command
|
2023-02-27 20:21:40 +01:00
|
|
|
(identifier) @_function
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @variable)
|
|
|
|
|
(#match? @_function "\\c^set$"))
|
2022-02-05 00:13:08 +01:00
|
|
|
|
|
|
|
|
(normal_command
|
2023-02-27 15:31:47 +00:00
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^set$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2023-02-27 20:21:40 +01:00
|
|
|
.
|
2024-01-06 15:05:50 +09:00
|
|
|
(argument)
|
2024-03-16 14:23:57 +09:00
|
|
|
((argument) @_cache @keyword.modifier
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @_type @type
|
2025-10-29 18:51:42 -07:00
|
|
|
(#eq? @_cache "CACHE")
|
2024-01-06 15:05:50 +09:00
|
|
|
(#any-of? @_type "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL"))))
|
2023-02-27 20:21:40 +01:00
|
|
|
|
|
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^unset$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument)
|
2024-03-16 14:23:57 +09:00
|
|
|
(argument) @keyword.modifier
|
|
|
|
|
(#any-of? @keyword.modifier "CACHE" "PARENT_SCOPE")))
|
2023-02-27 20:21:40 +01:00
|
|
|
|
|
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^list$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @constant
|
2023-06-28 15:19:58 +00:00
|
|
|
(#any-of? @constant "LENGTH" "GET" "JOIN" "SUBLIST" "FIND")
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @variable
|
|
|
|
|
(argument) @variable .))
|
|
|
|
|
|
2023-02-27 20:21:40 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^list$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @constant
|
|
|
|
|
.
|
|
|
|
|
(argument) @variable
|
2024-02-23 17:42:01 +09:00
|
|
|
(#any-of? @constant
|
|
|
|
|
"APPEND" "FILTER" "INSERT" "POP_BACK" "POP_FRONT" "PREPEND" "REMOVE_ITEM" "REMOVE_AT"
|
|
|
|
|
"REMOVE_DUPLICATES" "REVERSE" "SORT")))
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-02-27 20:21:40 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^list$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @_transform @constant
|
|
|
|
|
.
|
|
|
|
|
(argument) @variable
|
|
|
|
|
.
|
|
|
|
|
(argument) @_action @constant
|
2023-06-28 15:19:58 +00:00
|
|
|
(#eq? @_transform "TRANSFORM")
|
2024-01-06 15:05:50 +09:00
|
|
|
(#any-of? @_action "APPEND" "PREPEND" "TOUPPER" "TOLOWER" "STRIP" "GENEX_STRIP" "REPLACE")))
|
|
|
|
|
|
2023-02-27 20:21:40 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^list$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @_transform @constant
|
|
|
|
|
.
|
|
|
|
|
(argument) @variable
|
|
|
|
|
.
|
|
|
|
|
(argument) @_action @constant
|
|
|
|
|
.
|
|
|
|
|
(argument)? @_selector @constant
|
2023-06-28 15:19:58 +00:00
|
|
|
(#eq? @_transform "TRANSFORM")
|
|
|
|
|
(#any-of? @_action "APPEND" "PREPEND" "TOUPPER" "TOLOWER" "STRIP" "GENEX_STRIP" "REPLACE")
|
2024-01-06 15:05:50 +09:00
|
|
|
(#any-of? @_selector "AT" "FOR" "REGEX")))
|
|
|
|
|
|
2023-02-27 20:21:40 +01:00
|
|
|
(normal_command
|
|
|
|
|
(identifier) @_function
|
|
|
|
|
(#match? @_function "\\c^list$")
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument_list
|
2024-01-06 15:05:50 +09:00
|
|
|
.
|
|
|
|
|
(argument) @_transform @constant
|
|
|
|
|
(argument) @constant
|
|
|
|
|
.
|
2023-06-28 15:19:58 +00:00
|
|
|
(argument) @variable
|
|
|
|
|
(#eq? @_transform "TRANSFORM")
|
2024-01-06 15:05:50 +09:00
|
|
|
(#eq? @constant "OUTPUT_VARIABLE")))
|
2022-12-09 00:39:06 +01:00
|
|
|
|
2022-08-27 08:43:42 +08:00
|
|
|
(escape_sequence) @string.escape
|
2022-09-18 20:15:23 +03:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
((source_file
|
|
|
|
|
.
|
2024-04-29 14:56:57 +02:00
|
|
|
(line_comment) @keyword.directive @nospell)
|
feat!: align standard captures with upstream
Problem: Sharing highlight queries with upstream tree-sitter and
Helix is difficult.
Solution: Where reasonable, use capture names in tree-sitter's standard
list or Helix's Atom-style hierarchy.
Specifically:
* tree-sitter "standard capture names"
(https://github.com/tree-sitter/tree-sitter/blob/3f44b896852eb7daaa6df4fb778c9bb52c70c815/highlight/src/lib.rs#L20-L72):
- `@parameter` -> `@variable.parameter`
- `@field` -> `@variable.member`
- `@namespace` -> `@module`
- `@float` -> `@number.float`
- `@symbol` -> `@string.special.symbol`
- `@string.regex` -> `@string.regexp`
- `@text.*` -> `@markup.*` (`strong`, `italic`, `link`, `strikethrough`; with exceptions; see below)
- `@text.title` -> `@markup.heading`
- `@text.literal` -> `@markup.raw`
- `@text.reference` -> `@markup.link`
- `@text.uri` -> `@markup.link.url` (in markup links)
- `@string.special` -> `@markup.link.label` (non-url links)
- `@punctuation.special` -> `@markup.list` (markdown lists only; move subitems from `@text.todo`)
* Helix captures
(https://docs.helix-editor.com/master/themes.html#syntax-highlighting):
- `@method` -> `@function.method`
- `@method.call` -> `@function.method.call`
- `@text.{todo,warning,note,danger}` -> `@comment.{error,warning,hint,info,todo}`
- `@text.diff.{add,delete,}` -> `@diff.{plus,minus,delta}`
- `@text.uri` -> `@string.special.url` (outside markup)
- `@preproc` -> `@keyword.directive`
- `@define` -> `@keyword.directive`(`.define`?)
- `@storageclass` -> `@keyword.storage`
- `@conditional` -> `@keyword.conditional`
- `@debug` -> `@keyword.debug`
- `@exception` -> `@keyword.exception`
- `@include` -> `@keyword.import`
- `@repeat` -> `@keyword.repeat`
* cleanup
- remove some redundant `@conceal` (but still allow it for conceal-only patterns)
- remove obsolete `@error` (syntax linting is out of scope for this repo)
- sort, cleanup capture list in `CONTRIBUTING.md`
2023-12-24 10:00:20 +01:00
|
|
|
(#lua-match? @keyword.directive "^#!/"))
|