diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2024-09-19 23:15:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 08:15:01 +0200 |
| commit | 188b1a6d01fd9bcf04bf2bc932d611809b154acc (patch) | |
| tree | 2ef7f0fc668817cfbf63f476f5a22467b56f2377 /queries/gdscript | |
| parent | bot(lockfile): update editorconfig, fortran, nix, perl (diff) | |
| download | nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.gz nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.bz2 nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.lz nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.xz nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.zst nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.zip | |
feat(highlights): capture wildcard patterns as `@character.special` (#7153)
Diffstat (limited to 'queries/gdscript')
| -rw-r--r-- | queries/gdscript/highlights.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/queries/gdscript/highlights.scm b/queries/gdscript/highlights.scm index 9f122e473..bc62bc2f5 100644 --- a/queries/gdscript/highlights.scm +++ b/queries/gdscript/highlights.scm @@ -129,9 +129,10 @@ (#eq? @keyword.operator "new")) ; Match Pattern -(underscore) @constant ; The "_" pattern. - -(pattern_open_ending) @operator ; The ".." pattern. +[ + (underscore) + (pattern_open_ending) +] @character.special ; Alternations [ |
