feat(query): adapt to upstream changes

This commit is contained in:
Amaan Qureshi 2024-05-24 11:48:47 -04:00 committed by Christian Clason
parent d3acd105bd
commit 488e39a8f1
3 changed files with 3 additions and 6 deletions

View file

@ -570,7 +570,7 @@
"revision": "2c57cac27e207425f8df15327884434cb12365a3" "revision": "2c57cac27e207425f8df15327884434cb12365a3"
}, },
"query": { "query": {
"revision": "a12c4a1cd8aa6e0340ecb7089a05cd345a12bae3" "revision": "e6a775551f6e32cc0efd5b822b2987138c338d9b"
}, },
"r": { "r": {
"revision": "391400572538ff9854341a175ed8ab4b1e45f44b" "revision": "391400572538ff9854341a175ed8ab4b1e45f44b"

View file

@ -5,9 +5,6 @@
(capture (capture
(identifier) @type) (identifier) @type)
(anonymous_node
(identifier) @string)
(predicate (predicate
name: (identifier) @function.call) name: (identifier) @function.call)

View file

@ -200,7 +200,7 @@ local format_queries = [[
(capture) @format.prepend-space (capture) @format.prepend-space
;; Workaround to just use the string's content ;; Workaround to just use the string's content
(anonymous_node (identifier) @format.keep) (anonymous_node (string) @format.keep)
; ( (_) ) handler ; ( (_) ) handler
(grouping (grouping
@ -248,7 +248,7 @@ local format_queries = [[
. .
[ [
(anonymous_node (anonymous_node
name: (identifier) .) name: (string) .)
(named_node (named_node
[ [
"_" "_"