I accidently discovered that neovim.app seems to be ignoring my locale settings. I have
export LANG=en_US.UTF-8
in my .profile file, yet when I run :echo $LANG in neovim.app, I get en_BE.UTF-8. Interestingly, this locale is not even present on my computer according to running locale -a from the shell (this crashed a perl script (latexmk) which brought this issue to light). My hunch is that this locale must be derived from my system settings, where I have chosen English as my computer language but Belgium as region for formatting dates, currencies, etc.
During my investigation into the cause of this, I have tested:
Terminal
iTerm2
vim (terminal)
nvim (terminal)
mvim (macvim launched from the shell)
MacVim (launching the app from spotfinder)
VimR (an alternative neovim gui)
All of the above print en_US.UTF-8. Only neovim.app is different. Is there a way to tell neovim.app to use a different locale?
I accidently discovered that neovim.app seems to be ignoring my locale settings. I have
in my
.profile
file, yet when I run:echo $LANG
in neovim.app, I geten_BE.UTF-8
. Interestingly, this locale is not even present on my computer according to runninglocale -a
from the shell (this crashed a perl script (latexmk) which brought this issue to light). My hunch is that this locale must be derived from my system settings, where I have chosen English as my computer language but Belgium as region for formatting dates, currencies, etc.During my investigation into the cause of this, I have tested:
All of the above print
en_US.UTF-8
. Only neovim.app is different. Is there a way to tell neovim.app to use a different locale?