mirror of
https://github.com/dhruvasagar/vim-table-mode.git
synced 2025-11-09 11:33:47 -05:00
Fix #122 : Disable auto align properly after disabling Table Mode
This commit is contained in:
@@ -101,7 +101,7 @@ function! s:ToggleAutoAlign() "{{{2
|
|||||||
autocmd CursorHold <buffer> nested silent! call tablemode#table#Realign('.')
|
autocmd CursorHold <buffer> nested silent! call tablemode#table#Realign('.')
|
||||||
augroup END
|
augroup END
|
||||||
else
|
else
|
||||||
silent! augroup! TableModeAutoAlign
|
autocmd! TableModeAutoAlign CursorHold
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user