Hi!

First of all I would like to thank Björn for making Macvim available.

I was trying to use FuzzyFinder [1] in Macvim 7.3 (on OSX 10.6.4) and
received multiple errors relating to floating point numbers in
FuzzyFinders source ("E806: using Float as a String"). The error can
be reproduced by trying :let s = 0.5 in Macvim which results in the
same error.

This happens if I launch Macvim by double-clicking the icon in Finder.
If I launch Macvim form the terminal with the mvim command the error
disappears. My locale settings in the terminal is:

$ locale
LANG="sv_SE.UTF-8"
LC_COLLATE="sv_SE.UTF-8"
LC_CTYPE="sv_SE.UTF-8"
LC_MESSAGES="sv_SE.UTF-8"
LC_MONETARY="sv_SE.UTF-8"
LC_NUMERIC="sv_SE.UTF-8"
LC_TIME="sv_SE.UTF-8"
LC_ALL=

In the vim :help language it says that if vim is compiled with the
+float feature "the LC_NUMERIC value will always be set to "C", so
that floating    point numbers use '.' as the decimal point". Flags for
my Macvim (which is the standard download) can be seen in comments to
[2].

How can I make Macvim use the same locale settings as mvim in terminal
when I launch it from Finder? Am i misinterpreting what the +float
feature should do? Isn't it supposed to always make sure that dots can
be used for floating point numbers?

Regards,

Peter Krantz
http://www.opengov.se

[1]: Version 2010-09-26: https://bitbucket.org/ns9tks/vim-fuzzyfinder/
[2]: http://bitbucket.org/ns9tks/vim-l9/issue/2/errors-in-l9-in-macvim-73

-- 
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