mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
Fix the ":" in symbols when used in pairs
This fixes the colon not being highlighted when a symbol is represented
in a pair like so:
symbol: true
This commit is contained in:
parent
def8c20dd7
commit
da1bfd6e91
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@
|
||||||
(symbol)
|
(symbol)
|
||||||
] @constant
|
] @constant
|
||||||
|
|
||||||
|
(pair key: (symbol) ":" @constant)
|
||||||
(regex) @string.regex
|
(regex) @string.regex
|
||||||
(escape_sequence) @string.escape
|
(escape_sequence) @string.escape
|
||||||
(integer) @number
|
(integer) @number
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue