diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2020-09-07 20:10:47 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-09-08 22:02:39 +0200 |
| commit | 985c5def34d45d4ba9de19b5d624bacf2ee22c12 (patch) | |
| tree | cbf7dcd66dc295de4c158b858cd744b314224876 /queries/cpp | |
| parent | Add C++ folds and C comment/preproc folds (diff) | |
| download | nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar.gz nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar.bz2 nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar.lz nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar.xz nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.tar.zst nvim-treesitter-985c5def34d45d4ba9de19b5d624bacf2ee22c12.zip | |
C/C++ locals: Deduplicate C++ locals contained in C
Diffstat (limited to 'queries/cpp')
| -rw-r--r-- | queries/cpp/locals.scm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/queries/cpp/locals.scm b/queries/cpp/locals.scm index 2108f7caf..aa25a4cd8 100644 --- a/queries/cpp/locals.scm +++ b/queries/cpp/locals.scm @@ -7,7 +7,6 @@ ;; Class / struct defintions (class_specifier) @scope -(struct_specifier) @scope (reference_declarator (identifier) @definition.var) @@ -16,9 +15,6 @@ (identifier) @definition.var) (struct_specifier - name: (type_identifier) @definition.type) - -(struct_specifier name: (scoped_type_identifier name: (type_identifier) @definition.type)) |
