mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
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:
parent
c5871d9d87
commit
225e074a1a
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,4 @@
|
|||
[
|
||||
"global"
|
||||
"instance"
|
||||
"group_uniforms"
|
||||
"uniform"
|
||||
"const"
|
||||
|
|
@ -10,6 +8,8 @@
|
|||
"shader_type"
|
||||
] @keyword
|
||||
|
||||
(scope) @keyword
|
||||
|
||||
[
|
||||
"if"
|
||||
"else"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue