mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-10 12:03:48 -05:00
Fix #131. Cleanly disable auto align when table mode is disabled.
This commit is contained in:
@@ -102,7 +102,7 @@ function! s:ToggleAutoAlign() "{{{2
|
||||
autocmd InsertLeave <buffer> nested silent! if &modified | call tablemode#table#Realign('.') | endif
|
||||
augroup END
|
||||
else
|
||||
autocmd! TableModeAutoAlign CursorHold
|
||||
autocmd! TableModeAutoAlign
|
||||
endif
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user