mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
highlights(yang): fix captures
This commit is contained in:
parent
8034ae85db
commit
04712814cc
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue