diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2022-10-22 14:00:03 +0300 |
|---|---|---|
| committer | ObserverOfTime <chronobserver@disroot.org> | 2022-11-26 13:17:51 +0200 |
| commit | f30ae4da0d593810544c10667b1b9c3e0b438082 (patch) | |
| tree | 7ab0bbe90f13124e5fb0d205777a714a142c3552 /queries/d | |
| parent | highlights(css): use more specific groups (diff) | |
| download | nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar.gz nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar.bz2 nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar.lz nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar.xz nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.tar.zst nvim-treesitter-f30ae4da0d593810544c10667b1b9c3e0b438082.zip | |
highlights(d): use more specific groups
Diffstat (limited to 'queries/d')
| -rw-r--r-- | queries/d/highlights.scm | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/queries/d/highlights.scm b/queries/d/highlights.scm index 9a0887f3a..8bec1ca10 100644 --- a/queries/d/highlights.scm +++ b/queries/d/highlights.scm @@ -114,44 +114,25 @@ ] @repeat [ - "__gshared" "__parameters" - "abstract" "alias" "align" "asm" "auto" "body" "class" - "const" "debug" - "deprecated" "enum" "export" - "extern" - "final" "goto" - "immutable" - "inout" "interface" "invariant" - "lazy" "macro" - "nothrow" - "null" "out" "override" "package" - "private" - "protected" - "public" - "pure" - "ref" - "scope" - "shared" "static" "struct" - "synchronized" "template" "union" "unittest" @@ -219,6 +200,35 @@ "try" ] @exception +"null" @constant.builtin + +[ + "__gshared" + "const" + "immutable" + "shared" +] @storageclass + +[ + "abstract" + "deprecated" + "extern" + "final" + "inout" + "lazy" + "nothrow" + "private" + "protected" + "public" + "pure" + "ref" + "scope" + "synchronized" +] @type.qualifier + +(alias_assignment + . (identifier) @type.definition) + (module_declaration "module" @include ) |
