aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2015-06-26 12:49:14 +0200
committerBjörn Linse <bjorn.linse@gmail.com>2016-11-05 14:49:24 +0100
commit5072ab9e5b75963d2fa831a6eb84ac04a4182659 (patch)
treee46907e20ba1c09d6d55b8da2341c89eb0066a18 /src/nvim/main.c
parent4804001aff408558b8dd60ae3ba4cd9b84a5b949 (diff)
downloadrneovim-5072ab9e5b75963d2fa831a6eb84ac04a4182659.tar.gz
rneovim-5072ab9e5b75963d2fa831a6eb84ac04a4182659.tar.bz2
rneovim-5072ab9e5b75963d2fa831a6eb84ac04a4182659.zip
encoding: cleanup mbyte.c given fixed encoding=utf-8
Eliminate mb_init(): Set "enc_utf" and "has_mbyte" early. Eliminate "enc_unicode" and "enc_latin1like". init_chartab() and screenalloc() are already invoked elsewhere in the initialization process. The EncodingChanged autocmd cannot be triggered. At initialization, there is no spellfiles to reload
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index eb67483d08..ffd9353252 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -177,7 +177,6 @@ void early_init(void)
fs_init();
handle_init();
- (void)mb_init(); // init mb_bytelen_tab[] to ones
eval_init(); // init global variables
// Init the table of Normal mode commands.