Permalink
Browse files

Handle floats properly regardless of platform / locale

  • Loading branch information...
1 parent 0f8c31b commit c2f09f790b8e9fe9c00e05a16bd5a5ed28764a5a @tarsolya committed Feb 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/vital/_3bb4cee/prelude.vim
@@ -24,7 +24,7 @@ let [
\ type(function('tr')),
\ type([]),
\ type({}),
-\ has('float') ? type(str2float('0')) : -1
+\ type(str2float("3.14159"))
\]
" __TYPE_FLOAT = -1 when -float
" This doesn't match to anything.

0 comments on commit c2f09f7

Please sign in to comment.