mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-10 23:40:04 -04:00
Re-add option handling; fix builtin type assertion
Now need to wait for coder3101/tree-sitter-proto#23 to land to really sync this with upstream.
This commit is contained in:
parent
d45b7245b8
commit
86745d66a3
2 changed files with 20 additions and 2 deletions
|
|
@ -31,6 +31,16 @@
|
|||
(block_lit
|
||||
(identifier) @property)
|
||||
|
||||
; Extension option names, e.g. option (foo.bar) = ...
|
||||
(option
|
||||
(full_ident
|
||||
(identifier) @variable))
|
||||
|
||||
(option
|
||||
(full_ident
|
||||
(identifier)
|
||||
(identifier) @variable.member))
|
||||
|
||||
[
|
||||
"option"
|
||||
"syntax"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue