Use updated key_mappings variable to check if table_mappings is set
This commit is contained in:
parent
0678df38e9
commit
fcb5850c28
@ -521,7 +521,7 @@ if str2nr(vimwiki#vars#get_global('key_mappings').lists)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
function! s:CR(normal, just_mrkr)
|
function! s:CR(normal, just_mrkr)
|
||||||
if vimwiki#vars#get_global('table_mappings')
|
if str2nr(vimwiki#vars#get_global('key_mappings').table_mappings)
|
||||||
let res = vimwiki#tbl#kbd_cr()
|
let res = vimwiki#tbl#kbd_cr()
|
||||||
if res != ""
|
if res != ""
|
||||||
exe "normal! " . res . "\<Right>"
|
exe "normal! " . res . "\<Right>"
|
||||||
|
Loading…
Reference in New Issue
Block a user