Update tablemode.vim

This commit is contained in:
Dhruva Sagar
2018-10-21 05:53:36 +05:30
committed by GitHub
parent cf11264525
commit a1be216c94

View File

@@ -170,7 +170,7 @@ endfunction
function! tablemode#TableizeInsertMode() "{{{2 function! tablemode#TableizeInsertMode() "{{{2
if tablemode#IsActive() if tablemode#IsActive()
if getline('.') =~# (tablemode#table#StartExpr() . g:table_mode_separator . g:table_mode_separator) . tablemode#table#EndExpr() if getline('.') =~# (tablemode#table#StartExpr() . g:table_mode_separator . g:table_mode_separator . tablemode#table#EndExpr())
call tablemode#table#AddBorder('.') call tablemode#table#AddBorder('.')
normal! A normal! A
elseif getline('.') =~# (tablemode#table#StartExpr() . g:table_mode_separator) elseif getline('.') =~# (tablemode#table#StartExpr() . g:table_mode_separator)