~gpanders/dotfiles

afbd225dc1f0d4eb053de463e599edd974a4ab53 — Greg Anders a month ago 69586d5
Match any part of zettel filename
1 files changed, 1 insertions(+), 1 deletions(-)

M .vim/autoload/zet.vim
M .vim/autoload/zet.vim => .vim/autoload/zet.vim +1 -1
@@ 9,7 9,7 @@ function! zet#complete(findstart, base)
    else
        let zettels = glob($ZETTEL_DIR . '/*.md', 0, 1)
        call map(zettels, 'fnamemodify(v:val, '':t'')')
        call filter(zettels, 'v:val[0] =~# ''^'' . a:base')
        call filter(zettels, 'v:val =~? a:base')

        let matches = []
        for zet in zettels