vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit bc6acf5103cc546fb17d47846da333028f442e0d
parent cf8e3e731929b872d154d631d5b067e4c100cc84
Author: John Campbell <johnmarcampbell@gmail.com>
Date:   Thu, 26 Oct 2017 19:34:38 -0400

Merge pull request #403 from dpc/dev

Fix diary index generation with custom file extensions
Diffstat:
Mautoload/vimwiki/diary.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/vimwiki/diary.vim b/autoload/vimwiki/diary.vim @@ -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)