Merge pull request #403 from dpc/dev
Fix diary index generation with custom file extensions
This commit is contained in:
commit
bc6acf5103
@ -65,7 +65,7 @@ fun! s:read_captions(files) "{{{
|
||||
let result = {}
|
||||
for fl in a:files
|
||||
" remove paths and extensions
|
||||
let fl_key = fnamemodify(fl, ':t:r')
|
||||
let fl_key = substitute(fnamemodify(fl, ':t'), VimwikiGet('ext').'$', '', '')
|
||||
|
||||
if filereadable(fl)
|
||||
for line in readfile(fl, '', s:vimwiki_max_scan_for_caption)
|
||||
|
Loading…
Reference in New Issue
Block a user