diff options
| author | DragonBillow <DragonBillow@outlook.com> | 2024-07-22 16:19:13 +0800 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-22 12:40:27 +0200 |
| commit | 468f6ed66b450b2ed637e92774195eecf8fc6330 (patch) | |
| tree | 0b1ffcfbf2e02d831922130daf1f9b4a7deff2c4 /queries/idl | |
| parent | feat(gotmpl,helm): add locals (wip) (diff) | |
| download | nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar.gz nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar.bz2 nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar.lz nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar.xz nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.tar.zst nvim-treesitter-468f6ed66b450b2ed637e92774195eecf8fc6330.zip | |
fix(idl): fix break changes
Signed-off-by: DragonBillow <DragonBillow@outlook.com>
Diffstat (limited to 'queries/idl')
| -rw-r--r-- | queries/idl/highlights.scm | 76 |
1 files changed, 20 insertions, 56 deletions
diff --git a/queries/idl/highlights.scm b/queries/idl/highlights.scm index 9c51513d9..7446b0d4e 100644 --- a/queries/idl/highlights.scm +++ b/queries/idl/highlights.scm @@ -50,27 +50,6 @@ ] @keyword.modifier [ - "SEQUENTIAL" - "HASH" - "FINAL" - "APPENDABLE" - "MUTABLE" - "c" - "c++" - "java" - "idl" - "*" - "BEGIN_FILE" - "BEFORE_DECLARATION" - "BEGIN_DECLARATION" - "END_DECLARATION" - "AFTER_DECLARATION" - "END_FILE" - "CORBA" - "DDS" -] @constant - -[ "switch" "case" "default" @@ -98,6 +77,8 @@ (map_type) (object_type) (value_base_type) + (wide_string_type) + (wide_char_type) ] @type.builtin (escape_sequence) @string.escape @@ -115,8 +96,12 @@ (char_literal) @character +(wide_character_literal) @character + (string_literal) @string +(wide_string_literal) @string + [ "(" ")" @@ -161,41 +146,6 @@ (annotation_appl_custom_body (scoped_name) @attribute) -(annotation_appl_builtin_body - (_ - [ - "id" - "autoid" - "optional" - "position" - "value" - "extensibility" - "final" - "appendable" - "mutable" - "key" - "must_understand" - "default_literal" - "default" - "range" - "min" - "max" - "unit" - "bit_bound" - "external" - "nested" - "verbatim" - "service" - "oneway" - "ami" - ] @attribute.builtin)) - -(min_expr - "min" @attribute.builtin) - -(max_expr - "max" @attribute.builtin) - (op_dcl (identifier) @function.method) @@ -413,3 +363,17 @@ (extend_annotation_appl "//@" @attribute.builtin (annotation_appl_builtin_body)) + +[ + (autoid_kind) + (extensibility_kind) + (verbatim_language) + (placement_kind) + (service_platform) + (try_construct_fail_action) + (data_representation_mask) +] @constant + +(anno_name) @attribute.builtin + +(range_kind) @attribute.builtin |
