commit 63985a52e826559f556d34613c69b90e36c7e8f4
parent 08dcae9630cf9f0168726f07ae1968376de5c3f2
Author: Henry Qin <root@hq6.me>
Date: Wed, 10 Apr 2019 11:02:13 -0700
Rename get_cell_fast_aligns --> get_cell_aligns_fast
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/autoload/vimwiki/tbl.vim b/autoload/vimwiki/tbl.vim
@@ -297,7 +297,7 @@ function! s:get_cell_aligns(lnum, ...)
endfunction
-function! s:get_cell_fast_aligns(rows)
+function! s:get_cell_aligns_fast(rows)
let aligns = {}
let clen = 0
for [lnum, row] in a:rows
@@ -391,7 +391,7 @@ function! s:get_aligned_rows(lnum, col1, col2, depth)
endif
let fst_lens = s:get_cell_max_lens(a:lnum, cells, startlnum, rows[0:0])
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
endif
endif