summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-12-27 14:39:01 -0500
committerpommicket <pommicket@gmail.com>2022-12-27 14:39:01 -0500
commitc9907c20599728286e73115d11b46b169d10e1a3 (patch)
treeb1a287d830d8ee7e013e519df9b082485af1082c /lsp-write.c
parenta11545e25cf2f65047158cc1fd7ed5a0f11a9fa0 (diff)
add typescript highlighting
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index ecffe76..5f6c858 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -14,6 +14,8 @@ static const char *lsp_language_id(Language lang) {
return "java";
case LANG_JAVASCRIPT:
return "javascript";
+ case LANG_TYPESCRIPT:
+ return "typescript";
case LANG_MARKDOWN:
return "markdown";
case LANG_GO: