Rename get_cell_fast_aligns --> get_cell_aligns_fast
This commit is contained in:
parent
08dcae9630
commit
63985a52e8
@ -297,7 +297,7 @@ function! s:get_cell_aligns(lnum, ...)
|
|||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
function! s:get_cell_fast_aligns(rows)
|
function! s:get_cell_aligns_fast(rows)
|
||||||
let aligns = {}
|
let aligns = {}
|
||||||
let clen = 0
|
let clen = 0
|
||||||
for [lnum, row] in a:rows
|
for [lnum, row] in a:rows
|
||||||
@ -391,7 +391,7 @@ function! s:get_aligned_rows(lnum, col1, col2, depth)
|
|||||||
endif
|
endif
|
||||||
let fst_lens = s:get_cell_max_lens(a:lnum, cells, startlnum, rows[0:0])
|
let fst_lens = s:get_cell_max_lens(a:lnum, cells, startlnum, rows[0:0])
|
||||||
let check_all = max_lens != fst_lens
|
let check_all = max_lens != fst_lens
|
||||||
let aligns = s:get_cell_fast_aligns(rows[0:-2])
|
let aligns = s:get_cell_aligns_fast(rows[0:-2])
|
||||||
let rows[-1][1] = line
|
let rows[-1][1] = line
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user