On 17 March 2010 22:26, Thruston  wrote:
> If I launch macvim from the command line with mvim, it respects my
> shell language settings, and ":lang" reports
>
>    Current language: "en_GB.UTF-8/ [... repeated 5 times]
>
> But if I start it from the dock it ignores my shell language settings
> and ":lang" reports
>
>    Current language: "en_US"
>
> I tried adding
>
>   lang "en_GB.UTF-8"
>
> to .vimrc and then .gvimrc but it made no difference.
>
> How do I get the Macvim I launch from the dock to use the right lang
> settings please?
>
> (PS This makes a difference when I run python3 from within macvim. It
> crashes unless lang is set correctly.)

Which version of MacVim.app are you using?  If you are using the
stable version, go into the advanced preferences and tick the "login
shell" option.  If you are using the latest snapshot, try setting the
LANG environment variable in your ~/.profile.

Björn

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to