We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d21dac4 commit 8bc1a59Copy full SHA for 8bc1a59
1 file changed
internal/parse/treesitter/queries/lua/tags.scm
@@ -1,7 +1,17 @@
1
; Functions
2
(function_statement
3
- name: [(function_name) (identifier)] @name.function) @definition.function
+ name: [
4
+ (function_name)
5
+ (identifier)
6
+ (method_index_expression)
7
+ ] @name.function) @definition.function
8
+
9
+(local_function_statement
10
+ name: (identifier) @name.function) @definition.function
11
12
; Calls
13
(function_call
- prefix: (identifier) @name.call) @reference.call
14
+ prefix: [
15
16
17
+ ] @name.call) @reference.call
0 commit comments