highlights(yang): fix captures

This commit is contained in:
ObserverOfTime 2022-11-21 15:34:16 +02:00
parent 8034ae85db
commit 04712814cc

View file

@ -31,8 +31,11 @@
; Highlight xpath and pattern strings differently from plain strings
(statement
(statement_keyword ["pattern" "must"])
(statement_keyword "must")
(argument (string) @string.special))
(statement
(statement_keyword "pattern")
(argument (string) @string.regex))
; Punctuation
(plus_symbol) @operator