mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00

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
8 lines
152 B
C
8 lines
152 B
C
#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
|