aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-03-03 14:53:37 +0100
committerGitHub <noreply@github.com>2023-03-03 14:53:37 +0100
commit506ffde1a7dd819f2a917907b024f42d32e3ad49 (patch)
tree1a7710fe4e6c27b63737ccb28f8ebc64704100d6 /src/nvim/main.c
parent98e051783c26239a47c5cd643e9aea7146b097bd (diff)
parent2cffd048334912f72e0f55b2a02bd1fd9107613a (diff)
downloadrneovim-506ffde1a7dd819f2a917907b024f42d32e3ad49.tar.gz
rneovim-506ffde1a7dd819f2a917907b024f42d32e3ad49.tar.bz2
rneovim-506ffde1a7dd819f2a917907b024f42d32e3ad49.zip
Merge pull request #22442 from bfredl/quickmake
refactor(build): spring cleaning of compile time checks
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 975772169b..71c5c2af46 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -41,7 +41,6 @@
#include "nvim/highlight.h"
#include "nvim/highlight_group.h"
#include "nvim/keycodes.h"
-#include "nvim/locale.h"
#include "nvim/log.h"
#include "nvim/lua/executor.h"
#include "nvim/macros.h"
@@ -60,6 +59,7 @@
#include "nvim/optionstr.h"
#include "nvim/os/fileio.h"
#include "nvim/os/input.h"
+#include "nvim/os/lang.h"
#include "nvim/os/os.h"
#include "nvim/os/stdpaths_defs.h"
#include "nvim/os/time.h"
@@ -192,12 +192,10 @@ void early_init(mparm_T *paramp)
TIME_MSG("early init");
-#if defined(HAVE_LOCALE_H)
// Setup to use the current locale (for ctype() and many other things).
// NOTE: Translated messages with encodings other than latin1 will not
// work until set_init_1() has been called!
init_locale();
-#endif
// tabpage local options (p_ch) must be set before allocating first tabpage.
set_init_tablocal();