Add configuration option table_mode_update_time #73

This is for better experience with auto align, we override the
updatetime with the value of the configuration g:table_mode_update_time.

Once table mode is disabled prior defaults are restored.
This commit is contained in:
Dhruva Sagar
2017-03-10 06:48:30 +05:30
parent ef66b3ec2f
commit 79bf3f9bb7
4 changed files with 19 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ call s:SetGlobalOptDefault('table_mode_sort_map', '<Leader>ts')
call s:SetGlobalOptDefault('table_mode_syntax', 1)
call s:SetGlobalOptDefault('table_mode_auto_align', 1)
call s:SetGlobalOptDefault('table_mode_update_time', 500)
function! s:TableEchoCell() "{{{1
if tablemode#table#IsRow('.')