mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 03:13:48 -05:00
Workaround for Vim bug: using Float as a String in gvim (#27)
This commit is contained in:
@@ -335,7 +335,7 @@ function! s:do_align(todo, modes, all_tokens, all_delims, fl, ll, fc, lc, nth, r
|
|||||||
let mode = a:modes[0]
|
let mode = a:modes[0]
|
||||||
let lines = {}
|
let lines = {}
|
||||||
let min_indent = -1
|
let min_indent = -1
|
||||||
let max = { 'pivot_len': 0.0, 'token_len': 0, 'just_len': 0, 'delim_len': 0,
|
let max = { 'pivot_len': str2float('0.0'), 'token_len': 0, 'just_len': 0, 'delim_len': 0,
|
||||||
\ 'indent': 0, 'tokens': 0, 'strip_len': 0 }
|
\ 'indent': 0, 'tokens': 0, 'strip_len': 0 }
|
||||||
let d = a:dict
|
let d = a:dict
|
||||||
let [f, fx] = s:parse_filter(d.filter)
|
let [f, fx] = s:parse_filter(d.filter)
|
||||||
|
|||||||
Reference in New Issue
Block a user