From 024fd444d673be63ac23fc83481a8fe624127cbf Mon Sep 17 00:00:00 2001 From: pommicket Date: Wed, 11 Jan 2023 23:15:10 -0500 Subject: LANG_TEXT, turn off phantom completions for text/cfg/md files --- base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'base.h') diff --git a/base.h b/base.h index 32229e0..a5e5299 100644 --- a/base.h +++ b/base.h @@ -183,7 +183,7 @@ static void print(const char *fmt, ...) { // If you are adding new languages, DO NOT change the constant values // of the previous languages. It will mess up config files which use :set-language! typedef enum { - LANG_NONE = 0, + LANG_NONE = 0, // avoid using this and use LANG_TEXT instead. LANG_C = 1, LANG_CPP = 2, LANG_RUST = 3, @@ -200,6 +200,7 @@ typedef enum { LANG_JSON = 14, LANG_XML = 15, LANG_GLSL = 16, + LANG_TEXT = 17, // plain text LANG_COUNT } Language; -- cgit v1.2.3