glsl: Add glsl_analyzer (LSP) (#10694)

<img width="691" alt="image"
src="https://github.com/zed-industries/zed/assets/2588851/c5e02d12-d1e4-4407-971c-72de7e6599f0">

@mikayla-maki the extension lists you as the original author.

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
This commit is contained in:
jansol
2024-04-18 11:23:11 -04:00
committed by GitHub
co-authored by Marshall Bowers
parent a202499c9a
commit c55055599a
6 changed files with 169 additions and 1 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
name = "GLSL"
grammar = "glsl"
path_suffixes = ["vert", "frag", "tesc", "tese", "geom", "comp"]
path_suffixes = [
# Traditional rasterization pipeline shaders
"vert", "frag", "tesc", "tese", "geom",
# Compute shaders
"comp",
# Ray tracing pipeline shaders
"rgen", "rint", "rahit", "rchit", "rmiss", "rcall",
# Other
"glsl"
]
line_comments = ["// "]
block_comment = ["/* ", " */"]
brackets = [