1name = "GLSL"
2grammar = "glsl"
3path_suffixes = [
4 # Traditional rasterization pipeline shaders
5 "vert", "frag", "tesc", "tese", "geom",
6 # Compute shaders
7 "comp",
8 # Ray tracing pipeline shaders
9 "rgen", "rint", "rahit", "rchit", "rmiss", "rcall",
10 # Other
11 "glsl"
12 ]
13first_line_pattern = '^#version \d+'
14line_comments = ["// "]
15block_comment = { start = "/* ", prefix = "* ", end = "*/", tab_size = 1 }
16brackets = [
17 { start = "{", end = "}", close = true, newline = true },
18 { start = "[", end = "]", close = true, newline = true },
19 { start = "(", end = ")", close = true, newline = true },
20]