Fix #122 : Disable auto align properly after disabling Table Mode

This commit is contained in:
Dhruva Sagar
2017-07-31 06:06:22 +05:30
parent 4e41af8e5f
commit a646b4033b

View File

@@ -101,7 +101,7 @@ function! s:ToggleAutoAlign() "{{{2
autocmd CursorHold <buffer> nested silent! call tablemode#table#Realign('.')
augroup END
else
silent! augroup! TableModeAutoAlign
autocmd! TableModeAutoAlign CursorHold
endif
endfunction