From 9931e0888b2419326ae10ebbfae532261c5c125f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 16:11:56 +0200 Subject: Fix submodules --- vim/bundle/vim-table-mode | 1 + vim/bundle/vim-table-mode/t/align.vim | 20 -------------------- 2 files changed, 1 insertion(+), 20 deletions(-) create mode 160000 vim/bundle/vim-table-mode delete mode 100644 vim/bundle/vim-table-mode/t/align.vim (limited to 'vim/bundle/vim-table-mode/t/align.vim') diff --git a/vim/bundle/vim-table-mode b/vim/bundle/vim-table-mode new file mode 160000 index 0000000..b613e39 --- /dev/null +++ b/vim/bundle/vim-table-mode @@ -0,0 +1 @@ +Subproject commit b613e39bd08ecebdb9b18100dae518050f496048 diff --git a/vim/bundle/vim-table-mode/t/align.vim b/vim/bundle/vim-table-mode/t/align.vim deleted file mode 100644 index 930504d..0000000 --- a/vim/bundle/vim-table-mode/t/align.vim +++ /dev/null @@ -1,20 +0,0 @@ -" vim: fdm=indent -source t/config/options.vim - -function! ConvertLines2Dict(lines) - let lines = [] - for idx in range(len(a:lines)) - call insert(lines, {"lnum": idx+1, "text": a:lines[idx]}) - endfor - return lines -endfunction - -describe 'Align' - it 'should align table content correctly' - Expect tablemode#align#Align(ConvertLines2Dict(readfile('t/fixtures/align/simple_before.txt'))) == ConvertLines2Dict(readfile('t/fixtures/align/simple_after.txt')) - end - - it 'should align table content with unicode characters correctly' - Expect tablemode#align#Align(ConvertLines2Dict(readfile('t/fixtures/align/unicode_before.txt'))) == ConvertLines2Dict(readfile('t/fixtures/align/unicode_after.txt')) - end -end -- cgit v1.2.3