aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query/highlights/gdshader/test.gdshader
blob: db1459028a91d242e33e86c800cb8ae4b81da923 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
shader_type spatial;

render_mode unshaded, wireframe;
// <- @keyword
//          ^^^^^^^^ @keyword
//                    ^^^^^^^^^ @keyword

/** My Doc comment*/
//^^^^^^^^^^^^^^^^^^ @comment.documentation
uniform float MY_VALUE: interesting_hint = 1.0;
//<- @keyword 
//      ^^^^^ type.builtin
//            ^^^^^^^^ constant
//                    ^ @punctuation.delimiter
//                      ^^^^^^^^^^^^^^^^ @attribute
//                                       ^ @operator
//                                         ^^^ @number.float
//                                            ^ punctuation.delimiter

void vertex() {
// <- type.builtin
//   ^^^^^^ @function
  do {} while (123< 2231);
//^^ keyword.repeat
//      ^^^^^ keyword.repeat
}