mirror of https://github.com/helix-editor/helix
Add highlighting for lua methods (#13401)
parent
8580d35de9
commit
95c8d9c9e9
|
@ -189,6 +189,9 @@
|
|||
name: (identifier) @function
|
||||
value: (function_definition)))
|
||||
|
||||
;; Property
|
||||
(dot_index_expression field: (identifier) @variable.other.member)
|
||||
|
||||
(function_call
|
||||
name: [
|
||||
(identifier) @function.call
|
||||
|
@ -216,6 +219,3 @@
|
|||
; A bit of a tricky one, this will only match field names
|
||||
(field . (identifier) @variable.other.member (_))
|
||||
(hash_bang_line) @comment
|
||||
|
||||
;; Property
|
||||
(dot_index_expression field: (identifier) @variable.other.member)
|
||||
|
|
Loading…
Reference in New Issue