diff --git a/plugin/wiki.vim b/plugin/wiki.vim index 4a88db7..949ba85 100644 --- a/plugin/wiki.vim +++ b/plugin/wiki.vim @@ -154,8 +154,8 @@ call wiki#init#option('wiki_zotero_root', '~/.local/zotero') command! WikiEnable call wiki#buffer#init() command! -bang WikiIndex call s:bang_wrapper("wiki#goto_index", ) command! -bang WikiJournal call s:bang_wrapper("wiki#journal#open", ) -command! -bang WikiPages call s:bang_wrapper("g:wiki_select_method.pages", ) -command! -bang WikiTags call s:bang_wrapper("g:wiki_select_method.tags", ) +command! -bang WikiPages call s:bang_wrapper(g:wiki_select_method.pages, ) +command! -bang WikiTags call s:bang_wrapper(g:wiki_select_method.tags, ) command! -nargs=? \ -complete=customlist,wiki#complete#pages \ WikiOpen call wiki#page#open()