mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
update go highlight queries (#8399)
This commit is contained in:
parent
01e281ce10
commit
2776233a6f
@ -24,7 +24,6 @@
|
||||
|
||||
; Identifiers
|
||||
|
||||
((identifier) @constant (match? @constant "^[A-Z][A-Z\\d_]+$"))
|
||||
(const_spec
|
||||
name: (identifier) @constant)
|
||||
|
||||
@ -38,6 +37,7 @@
|
||||
(type_spec
|
||||
name: (type_identifier) @constructor)
|
||||
(field_identifier) @variable.other.member
|
||||
(keyed_element (literal_element (identifier) @variable.other.member))
|
||||
(identifier) @variable
|
||||
(package_identifier) @namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user