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
|
|
@ -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