Also auto realign on InsertLeave #73

This commit is contained in:
Dhruva Sagar
2017-03-09 14:24:15 +05:30
parent 1eef73fc5b
commit 6584cee4a4

View File

@@ -98,7 +98,7 @@ function! s:ToggleAutoAlign() "{{{2
augroup TableModeAutoAlign augroup TableModeAutoAlign
au! au!
autocmd CursorHold,CursorHoldI * nested silent! call tablemode#table#Realign('.') autocmd CursorHold,CursorHoldI,InsertLeave * nested silent! call tablemode#table#Realign('.')
augroup END augroup END
else else
silent! augroup! TableModeAutoAlign silent! augroup! TableModeAutoAlign