Fix link extension removed

This commit is contained in:
Tinmarino
2020-07-21 19:36:14 -04:00
parent 667929d3f9
commit 068a26acec
2 changed files with 40 additions and 4 deletions

View File

@ -1424,10 +1424,6 @@ function! vimwiki#base#follow_link(split, ...) abort
if processed_by_markdown_reflink
return
endif
" remove the extension from the filename if exists, because non-vimwiki
" markdown files usually include the extension in links
let lnk = substitute(lnk, '\'.vimwiki#vars#get_wikilocal('ext').'$', '', '')
endif
let current_tab_page = tabpagenr()