mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 10:20:11 -04:00
fix(julia): symbol highlighting
Update the `@symbol` capture to enable highlighting symbols differently from variables. See https://github.com/tree-sitter/tree-sitter-julia/issues/110
This commit is contained in:
parent
7b04e8b67e
commit
5be3ddeadd
1 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,9 @@
|
||||||
(macro_definition
|
(macro_definition
|
||||||
name: (identifier) @function.macro)
|
name: (identifier) @function.macro)
|
||||||
|
|
||||||
(quote_expression ":" [(identifier) (operator)]) @symbol
|
(quote_expression
|
||||||
|
":" @symbol
|
||||||
|
[(identifier) (operator)] @symbol)
|
||||||
|
|
||||||
(field_expression
|
(field_expression
|
||||||
(identifier) @field .)
|
(identifier) @field .)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue