Add highlighting for lua methods (#13401)

pull/13425/head
Tobias Tschinkowitz 2025-04-27 15:41:16 +02:00 committed by GitHub
parent 8580d35de9
commit 95c8d9c9e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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)