Update locals with support for deep pattern matches

This commit is contained in:
Connor Lay (Clay) 2021-10-06 22:11:09 -07:00 committed by Stephan Seitz
parent 259e3f6e64
commit 1413f62c88
2 changed files with 66 additions and 75 deletions

View file

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