From 63985a52e826559f556d34613c69b90e36c7e8f4 Mon Sep 17 00:00:00 2001 From: Henry Qin Date: Wed, 10 Apr 2019 11:02:13 -0700 Subject: [PATCH] Rename get_cell_fast_aligns --> get_cell_aligns_fast --- autoload/vimwiki/tbl.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/vimwiki/tbl.vim b/autoload/vimwiki/tbl.vim index bd340a5..e483411 100644 --- 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