feat(luau): update queries from upstream

This commit is contained in:
Amaan Qureshi 2024-05-21 22:39:04 -04:00
parent 7add411eba
commit 14db0433e1

View file

@ -133,12 +133,10 @@
(identifier) @variable (identifier) @variable
; Types ; Types
(type (type/identifier) @type
(identifier) @type)
(type (generic_type
(generic_type (identifier) @type)
(identifier) @type))
(builtin_type) @type.builtin (builtin_type) @type.builtin
@ -163,6 +161,8 @@
((identifier) @variable.builtin ((identifier) @variable.builtin
(#eq? @variable.builtin "self")) (#eq? @variable.builtin "self"))
"..." @variable.builtin
((identifier) @module.builtin ((identifier) @module.builtin
(#any-of? @module.builtin "_G" "debug" "io" "jit" "math" "os" "package" "string" "table" "utf8")) (#any-of? @module.builtin "_G" "debug" "io" "jit" "math" "os" "package" "string" "table" "utf8"))