Skip to content

Commit

Permalink
feat(glsl): add support for glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterCardenas authored and lewis6991 committed Jan 6, 2025
1 parent 2bcf700 commit dd02e54
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions queries/glsl/context.scm
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

([
(function_definition)
] @context)
5 changes: 5 additions & 0 deletions test/lang/test.glsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// {{TEST}}
vec3 test(vec3 a, vec3 b) { // {{CONTEXT}

// {{CURSOR}}
}

0 comments on commit dd02e54

Please sign in to comment.