mirror of
https://github.com/realAscot/helix.git
synced 2025-09-14 04:03:03 +02:00
Add highlighting for lua methods (#13401)
This commit is contained in:
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…
x
Reference in New Issue
Block a user