diff options
Diffstat (limited to 'queries/idl/highlights.scm')
| -rw-r--r-- | queries/idl/highlights.scm | 67 |
1 files changed, 64 insertions, 3 deletions
diff --git a/queries/idl/highlights.scm b/queries/idl/highlights.scm index 47ce31b7b..051690836 100644 --- a/queries/idl/highlights.scm +++ b/queries/idl/highlights.scm @@ -50,6 +50,27 @@ ] @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" @@ -132,11 +153,43 @@ (annotation_appl "@" @attribute) -(annotation_appl +(annotation_appl_custom_body (scoped_name) @attribute) -(annotation_appl - (annotation_built_name) @attribute.builtin) +(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) @@ -339,3 +392,11 @@ (element_spec (declarator) @variable.member) + +(preproc_include + (keyword_include) @type + path: (_) @string) + +(system_lib_string + "<" @string + ">" @string) |
