diff options
author | pommicket <pommicket@gmail.com> | 2023-03-01 17:28:30 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-03-01 17:28:30 -0500 |
commit | 6d9ebc8332b6cc54ada4bc17689e4de4040892c6 (patch) | |
tree | 3d8611141759be315996b537e8b533a16aa472a5 /base.h | |
parent | 52ba910a48a4dd2abb798c3c998ecb0e006c1895 (diff) |
start dynamic lbanguage registaration
Diffstat (limited to 'base.h')
-rw-r--r-- | base.h | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -168,34 +168,4 @@ static void print(const char *fmt, ...) { #define debug_println(...) #endif -// NOTE: these have to be defined here because lsp.h uses Language - -// 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 { - /// avoid using this and use LANG_TEXT instead. - LANG_NONE = 0, - LANG_C = 1, - LANG_CPP = 2, - LANG_RUST = 3, - LANG_PYTHON = 4, - LANG_TEX = 5, - LANG_MARKDOWN = 6, - LANG_HTML = 7, - /// .cfg files - LANG_CONFIG = 8, - LANG_JAVASCRIPT = 9, - LANG_JAVA = 10, - LANG_GO = 11, - /// like \ref LANG_CONFIG, but with multiline strings. - LANG_TED_CFG = 12, - LANG_TYPESCRIPT = 13, - LANG_JSON = 14, - LANG_XML = 15, - LANG_GLSL = 16, - /// plain text - LANG_TEXT = 17, - LANG_COUNT -} Language; - #endif // BASE_H_ |