mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(query): adapt to upstream changes
This commit is contained in:
parent
d3acd105bd
commit
488e39a8f1
3 changed files with 3 additions and 6 deletions
|
|
@ -570,7 +570,7 @@
|
|||
"revision": "2c57cac27e207425f8df15327884434cb12365a3"
|
||||
},
|
||||
"query": {
|
||||
"revision": "a12c4a1cd8aa6e0340ecb7089a05cd345a12bae3"
|
||||
"revision": "e6a775551f6e32cc0efd5b822b2987138c338d9b"
|
||||
},
|
||||
"r": {
|
||||
"revision": "391400572538ff9854341a175ed8ab4b1e45f44b"
|
||||
|
|
|
|||
|
|
@ -5,9 +5,6 @@
|
|||
(capture
|
||||
(identifier) @type)
|
||||
|
||||
(anonymous_node
|
||||
(identifier) @string)
|
||||
|
||||
(predicate
|
||||
name: (identifier) @function.call)
|
||||
|
||||
|
|
|
|||
|
|
@ -200,7 +200,7 @@ local format_queries = [[
|
|||
(capture) @format.prepend-space
|
||||
|
||||
;; Workaround to just use the string's content
|
||||
(anonymous_node (identifier) @format.keep)
|
||||
(anonymous_node (string) @format.keep)
|
||||
|
||||
; ( (_) ) handler
|
||||
(grouping
|
||||
|
|
@ -248,7 +248,7 @@ local format_queries = [[
|
|||
.
|
||||
[
|
||||
(anonymous_node
|
||||
name: (identifier) .)
|
||||
name: (string) .)
|
||||
(named_node
|
||||
[
|
||||
"_"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue