diff --git a/CHANGELOG.md b/CHANGELOG.md index 89c5ad7..3d6d6d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,14 @@ # Changelog -## Version 0.6 (development) +## Version 0.7 (development) + +## Version 0.6 (2024-01-01) - Vim command `:VimwikiReference` converts [Pandoc Citations](https://pandoc.org/MANUAL.html#citation-syntax) to [reference links](https://pandoc.org/MANUAL.html#reference-links), e.g.,`[anchor:]`, replacing the current file. +- DOCS: Update `:help`. - BUILD: Use pre-commit to remove trailing spaces from Vim help. ## Version 0.5 (2023-12-04) diff --git a/after/ftplugin/vimwiki.vim b/after/ftplugin/vimwiki.vim index 587afc8..aa8bb1c 100644 --- a/after/ftplugin/vimwiki.vim +++ b/after/ftplugin/vimwiki.vim @@ -1,11 +1,12 @@ " Panvimwiki ftplugin " File: vimwiki.vim " Description: Panvimwiki additions to filetype vimwiki -" Maintainer: John D. Fisher -" Last Change: 2023-12-03 +" Home: https://github.com/jfishe/panvimwiki +" Maintainer: John D. Fisher +" Last Change: 2024-01-01 if exists('b:did_ftplugin_panvimwiki') || &compatible - \ || !executable('pandoc') || !has('patch-8.2.0578h') + \ || !executable('pandoc') || !has('patch-8.2.0578h') finish endif let b:did_ftplugin_panvimwiki = 1 " Don't load another plugin for this buffer @@ -39,4 +40,4 @@ endif let &cpo = s:save_cpo unlet s:save_cpo -" vim:tabstop=4:shiftwidth=4:expandtab:textwidth=99:foldmethod=marker +" vim:tabstop=2:shiftwidth=2:expandtab:textwidth=99:foldmethod=marker diff --git a/autoload/panvimwiki.vim b/autoload/panvimwiki.vim index d0160e8..afbe2c3 100644 --- a/autoload/panvimwiki.vim +++ b/autoload/panvimwiki.vim @@ -1,8 +1,9 @@ " Panvimwiki autoload +" File: panvimwiki.vim " Description: Concatenate, filter and convert Vimwiki Diary using Pandoc " Home: https://github.com/jfishe/panvimwiki " Maintainer: John D. Fisher -" Last Change: 2023-12-03 +" Last Change: 2024-01-01 if exists('g:loaded_panvimwiki_auto') || !has('python3') || &compatible \ || !executable('pandoc') || !has('patch-8.2.0578h') @@ -40,10 +41,10 @@ function! panvimwiki#convert(bang, ...) abort "{{{ endif let l:diary_path = vimwiki#path#path_norm( - \ vimwiki#path#join_path( - \ vimwiki#vars#get_wikilocal('path'), - \ vimwiki#vars#get_wikilocal('diary_rel_path') - \ )) + \ vimwiki#path#join_path( + \ vimwiki#vars#get_wikilocal('path'), + \ vimwiki#vars#get_wikilocal('diary_rel_path') + \ )) let l:current_path = vimwiki#path#path_norm(expand('%:p:h')..'/') if a:0 > 0 @@ -94,4 +95,4 @@ endfunction "}}} let &cpo = s:save_cpo unlet s:save_cpo -" vim:tabstop=4:shiftwidth=4:expandtab:textwidth=99:foldmethod=marker +" vim:tabstop=2:shiftwidth=2:expandtab:textwidth=99:foldmethod=marker diff --git a/plugin/panvimwiki.vim b/plugin/panvimwiki.vim index d257180..0de0dc8 100644 --- a/plugin/panvimwiki.vim +++ b/plugin/panvimwiki.vim @@ -1,8 +1,9 @@ -" vim: set fdm=marker et ts=4 sw=4 sts=4: - +" Panvimwiki plugin " File: panvimwiki.vim " Description: Convert Vimwiki to other formats using pandoc -" Author: John D. Fisher +" Home: https://github.com/jfishe/panvimwiki +" Maintainer: John D. Fisher +" Last Change: 2024-01-01 " Should we load? {{{1 if exists('g:panvimwiki_loaded') || !has("python3") || &compatible @@ -35,3 +36,4 @@ let s:plugin_root_dir = fnamemodify(resolve(expand(':p')), ':h') " Restore Vim compatibility options. let &cpoptions = s:save_cpo unlet s:save_cpo +" vim:tabstop=2:shiftwidth=2:expandtab:textwidth=99:foldmethod=marker