mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-08 11:03:47 -05:00
Also auto realign on InsertLeave #73
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user