summaryrefslogtreecommitdiff
path: root/lsp-write.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-11 23:15:10 -0500
committerpommicket <pommicket@gmail.com>2023-01-11 23:15:10 -0500
commit024fd444d673be63ac23fc83481a8fe624127cbf (patch)
tree7c83af676466bdb23b30a10e13d80601a006d2a1 /lsp-write.c
parentdc1e9a3566927fe71bd254f8486be9eb99650783 (diff)
LANG_TEXT, turn off phantom completions for text/cfg/md files
Diffstat (limited to 'lsp-write.c')
-rw-r--r--lsp-write.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lsp-write.c b/lsp-write.c
index 19bd766..4409593 100644
--- a/lsp-write.c
+++ b/lsp-write.c
@@ -10,6 +10,7 @@ static const char *lsp_language_id(Language lang) {
switch (lang) {
case LANG_CONFIG:
case LANG_TED_CFG:
+ case LANG_TEXT:
case LANG_NONE:
return "text";
case LANG_C: