Workaround for Vim bug: using Float as a String in gvim (#19)

Related:
https://github.com/junegunn/vim-easy-align/issues/27
This commit is contained in:
Junegunn Choi
2015-07-30 01:48:08 +09:00
parent 63c4d78128
commit 9f57165a38

View File

@@ -29,7 +29,7 @@ let g:loaded_limelight = 1
let s:cpo_save = &cpo
set cpo&vim
let s:default_coeff = 0.5
let s:default_coeff = str2float('0.5')
let s:invalid_coefficient = 'Invalid coefficient. Expected: 0.0 ~ 1.0'
function! s:unsupported()