mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 01:27:27 +00:00
Fix type recognition in global scope
This commit is contained in:
1 parent
5820be3f40
commit
f4e1e51d22
1 file changed
+4
@@ -259,6 +259,10 @@ public final class QueryPatterns {
|
||||
"(local_variable_declaration\n" +
|
||||
" declarator: (variable_declarator\n" +
|
||||
" name: (identifier) @local.definition.var))\n" +
|
||||
"(program\n" +
|
||||
" (local_variable_declaration\n" +
|
||||
" declarator: (variable_declarator)\n" +
|
||||
" name: (identifier) @variable)))\n" +
|
||||
"(formal_parameter\n" +
|
||||
" name: (identifier) @local.definition.parameter)\n" +
|
||||
"(field_declaration\n" +
|
||||
|
||||
Reference in new issue
Block a user