mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
mac: Set $LANG based on the system locale
Unix's typical locale-related environment variables aren't always set appropriately on a Mac. Instead of relying on them, query the locale information using Mac specific APIs and then set $LANG appropriately for the rest of nvim. Closes #5873
This commit is contained in:
7
src/nvim/os/lang.h
Normal file
7
src/nvim/os/lang.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef NVIM_OS_LANG_H
|
||||
#define NVIM_OS_LANG_H
|
||||
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "os/lang.h.generated.h"
|
||||
#endif
|
||||
#endif // NVIM_OS_LANG_H
|
Reference in New Issue
Block a user