diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-07-04 22:00:59 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-07-05 19:48:02 +0200 |
| commit | 63c1853674f8f6c81bc8883383ad550499410568 (patch) | |
| tree | 5e06ff1dfc89a06f992715d6c4247cf1be4b55cd /queries/cpp/locals.scm | |
| parent | Update README.md (diff) | |
| download | nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar.gz nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar.bz2 nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar.lz nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar.xz nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.tar.zst nvim-treesitter-63c1853674f8f6c81bc8883383ad550499410568.zip | |
C/C++ highlights: update to new syntax
This changed the highlight of "switch" to conditional and of "break" to repeat.
Diffstat (limited to 'queries/cpp/locals.scm')
| -rw-r--r-- | queries/cpp/locals.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/cpp/locals.scm b/queries/cpp/locals.scm index e2e32a140..47b69c866 100644 --- a/queries/cpp/locals.scm +++ b/queries/cpp/locals.scm @@ -11,14 +11,14 @@ (struct_specifier name: (scoped_type_identifier - name: (type_identifier) @definition.type) ) + name: (type_identifier) @definition.type)) (class_specifier name: (type_identifier) @definition.type) (class_specifier name: (scoped_type_identifier - name: (type_identifier) @definition.type) ) + name: (type_identifier) @definition.type)) ;; Function defintions (template_function |
