refactor(gdshader): use uniform scope node instead of literal matching

This avoids the need to refactor if other scope types are added. Maybe
helps performance as well.
This commit is contained in:
Tayfun Bocek 2025-11-24 00:20:01 +03:00
parent c5871d9d87
commit 225e074a1a

View file

@ -1,6 +1,4 @@
[
"global"
"instance"
"group_uniforms"
"uniform"
"const"
@ -10,6 +8,8 @@
"shader_type"
] @keyword
(scope) @keyword
[
"if"
"else"