summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 128b61b..4c9bce3 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -30,6 +30,9 @@ static const char *lsp_language_id(Language lang) {
return "latex";
case LANG_XML:
return "xml";
+ case LANG_GLSL:
+ // not specified as of LSP 3.17, but this seems like the natural choice
+ return "glsl";
case LANG_COUNT: break;
}
assert(0);