summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index edd4934..128b61b 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -12,6 +12,8 @@ static const char *lsp_language_id(Language lang) {
return "java";
case LANG_JAVASCRIPT:
return "javascript";
+ case LANG_JSON:
+ return "json";
case LANG_TYPESCRIPT:
return "typescript";
case LANG_MARKDOWN:
@@ -26,6 +28,8 @@ static const char *lsp_language_id(Language lang) {
return "html";
case LANG_TEX:
return "latex";
+ case LANG_XML:
+ return "xml";
case LANG_COUNT: break;
}
assert(0);