Skip to content

Commit

Permalink
Fix C++ queries and update tree-sitter-cpp (helix-editor#7285)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadronized authored and Triton171 committed Jun 18, 2023
1 parent b6dfd93 commit bbc4a3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ args = { console = "internalConsole", attachCommands = [ "platform select remote

[[grammar]]
name = "cpp"
source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "2d2c4aee8672af4c7c8edff68e7dd4c07e88d2b1" }
source = { git = "https://github.com/tree-sitter/tree-sitter-cpp", rev = "670404d7c689be1c868a46f919ba2a3912f2b7ef" }

[[language]]
name = "crystal"
Expand Down
2 changes: 1 addition & 1 deletion runtime/queries/cpp/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

(using_declaration ("using" "namespace" (identifier) @namespace))
(using_declaration ("using" "namespace" (qualified_identifier name: (identifier) @namespace)))
(namespace_definition name: (identifier) @namespace)
(namespace_definition name: (namespace_identifier) @namespace)
(namespace_identifier) @namespace

(qualified_identifier name: (identifier) @type.enum.variant)
Expand Down

0 comments on commit bbc4a3c

Please sign in to comment.