mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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
09c2e6e0a7
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@
|
|||
(symbol)
|
||||
] @constant
|
||||
|
||||
(pair key: (symbol) ":" @constant)
|
||||
(regex) @string.regex
|
||||
(escape_sequence) @string.escape
|
||||
(integer) @number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue