mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 12:20:02 -04:00
Update locals with support for deep pattern matches
This commit is contained in:
parent
259e3f6e64
commit
1413f62c88
2 changed files with 66 additions and 75 deletions
|
|
@ -19,6 +19,9 @@
|
|||
"%"
|
||||
] @punctuation.special
|
||||
|
||||
; Parser errors
|
||||
(ERROR) @error
|
||||
|
||||
; Identifiers
|
||||
(identifier) @variable
|
||||
|
||||
|
|
@ -201,7 +204,7 @@
|
|||
quoted_end: _ @comment) @comment
|
||||
(boolean) @comment
|
||||
]))
|
||||
(#any-of? @_identifier "moduledoc" "typedoc" "doc"))
|
||||
(#any-of? @_identifier "moduledoc" "typedoc" "shortdoc" "doc"))
|
||||
|
||||
; Sigils
|
||||
(sigil
|
||||
|
|
@ -220,5 +223,3 @@
|
|||
((sigil_modifiers) @string)?
|
||||
(#any-of? @_sigil_name "s" "S")) @string
|
||||
|
||||
; Parser errors
|
||||
(ERROR) @error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue