diff options
| author | Tormod Alf Try Tufteland <tormodat.tufteland@eika.no> | 2021-03-20 17:40:40 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-03-20 17:52:07 +0100 |
| commit | db67f5e517642eafe77be3714171880ea0372f80 (patch) | |
| tree | 4367311daa30f0fae2586728aa55ad2a5104c800 | |
| parent | kotlin: updated parser, and added annotation highlight again (diff) | |
| download | nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.gz nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.bz2 nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.lz nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.xz nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.tar.zst nvim-treesitter-db67f5e517642eafe77be3714171880ea0372f80.zip | |
attribute in stead of annotation
| -rw-r--r-- | queries/kotlin/highlights.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm index 7c59815b8..17eeab2a3 100644 --- a/queries/kotlin/highlights.scm +++ b/queries/kotlin/highlights.scm @@ -70,9 +70,9 @@ (type_identifier) @type ;; Annotations -(annotation (single_annotation) @annotation) -(single_annotation (user_type (type_identifier) @annotation)) -(single_annotation (constructor_invocation (user_type (type_identifier) @annotation))) +(annotation (single_annotation) @attribute) +(single_annotation (user_type (type_identifier) @attribute)) +(single_annotation (constructor_invocation (user_type (type_identifier) @attribute))) ;; it |
