mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 19:30:02 -04:00
add golang type definition highlight
This commit is contained in:
parent
4f885f2d07
commit
be5ed65f7f
1 changed files with 1 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
||||||
; Identifiers
|
; Identifiers
|
||||||
|
|
||||||
(type_identifier) @type
|
(type_identifier) @type
|
||||||
|
(type_spec name: (type_identifier) @type.definition)
|
||||||
(field_identifier) @property
|
(field_identifier) @property
|
||||||
(identifier) @variable
|
(identifier) @variable
|
||||||
(package_identifier) @namespace
|
(package_identifier) @namespace
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue