commit 22dcb366184a20d7078beb515cf8e87acd1ff66f parent 7d937615c124b2db994ab1402e13feb5eae5d7b0 Author: paperbenni <paperbenni@gmail.com> Date: Thu, 29 Jul 2021 14:23:03 +0200 remove echo usage from VimwikiPasteLink Diffstat:
M | autoload/vimwiki/path.vim | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/vimwiki/path.vim b/autoload/vimwiki/path.vim @@ -228,7 +228,7 @@ function! s:get_wikifile_link(wikifile) abort endfunction function! vimwiki#path#PasteLink(wikifile) abort - execute 'r !echo "[[/'.s:get_wikifile_link(a:wikifile).']]"' + call append(line('.'), '[[/'.s:get_wikifile_link(a:wikifile).']]') endfunction