mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
fix(teal): highlighting for types
This commit is contained in:
parent
7ada23db8b
commit
ece0f70139
1 changed files with 2 additions and 2 deletions
|
|
@ -91,8 +91,8 @@
|
||||||
|
|
||||||
(type_declaration "type" @keyword)
|
(type_declaration "type" @keyword)
|
||||||
(type_declaration (identifier) @type)
|
(type_declaration (identifier) @type)
|
||||||
(simple_type) @type
|
(simple_type name: (identifier) @type)
|
||||||
(type_index) @type
|
(type_index (identifier) @type)
|
||||||
(type_union "|" @operator)
|
(type_union "|" @operator)
|
||||||
(function_type "function" @type)
|
(function_type "function" @type)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue