Use updated key_mappings variable to check if table_mappings is set

This commit is contained in:
Rane Brown 2019-07-20 22:14:48 -06:00
parent 0678df38e9
commit fcb5850c28

View File

@ -521,7 +521,7 @@ if str2nr(vimwiki#vars#get_global('key_mappings').lists)
endif
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()
if res != ""
exe "normal! " . res . "\<Right>"