Skip to content

Commit

Permalink
Workaround for Vim bug: using Float as a String in gvim (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Dec 19, 2013
1 parent 46abd8f commit dc47868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/easy_align.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 lines = {}
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 }
let d = a:dict
let [f, fx] = s:parse_filter(d.filter)
Expand Down

0 comments on commit dc47868

Please sign in to comment.