diff options
author | pommicket <pommicket@gmail.com> | 2023-01-11 23:15:10 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-11 23:15:10 -0500 |
commit | 024fd444d673be63ac23fc83481a8fe624127cbf (patch) | |
tree | 7c83af676466bdb23b30a10e13d80601a006d2a1 /base.h | |
parent | dc1e9a3566927fe71bd254f8486be9eb99650783 (diff) |
LANG_TEXT, turn off phantom completions for text/cfg/md files
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |