mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
wildcards to capture keys
This commit is contained in:
parent
dc0432aa54
commit
cafe733e23
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
(block_mapping_pair key: (flow_node) @field)
|
(block_mapping_pair key: (_) @field)
|
||||||
(flow_pair key: (flow_node) @field) ; This one doesn't seem to work, no idea what's wrong with it.
|
(flow_mapping (_ key: (_) @field))
|
||||||
(boolean_scalar) @boolean
|
(boolean_scalar) @boolean
|
||||||
(null_scalar) @constant.builtin
|
(null_scalar) @constant.builtin
|
||||||
(double_quote_scalar) @string
|
(double_quote_scalar) @string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue