mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-13 08:50:11 -04:00
fix(highlights): lower priority for codeblocks with injections (#4905)
This commit is contained in:
parent
2d6e73ab2f
commit
a034c7aa25
4 changed files with 19 additions and 14 deletions
|
|
@ -112,10 +112,8 @@
|
|||
(number_literal) @number
|
||||
(char_literal) @character
|
||||
|
||||
[
|
||||
(preproc_arg)
|
||||
(preproc_defined)
|
||||
] @function.macro
|
||||
((preproc_arg) @function.macro (#set! "priority" 90))
|
||||
(preproc_defined) @function.macro
|
||||
|
||||
(((field_expression
|
||||
(field_identifier) @property)) @_parent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue