rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Setting locale #339

Open DeMol-EE opened 5 years ago

DeMol-EE commented 5 years ago

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.

image

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?