Skip to content

Commit

Permalink
docs(CHANGELOG): release 0.6
Browse files Browse the repository at this point in the history
Update vim heading.
  • Loading branch information
jfishe committed Jan 1, 2024
1 parent c4ab0fe commit 5c33670
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 14 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
9 changes: 5 additions & 4 deletions after/ftplugin/vimwiki.vim
Original file line number Diff line number Diff line change
@@ -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 <jdfenw@gmail.com>
" 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
Expand Down Expand Up @@ -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
13 changes: 7 additions & 6 deletions autoload/panvimwiki.vim
Original file line number Diff line number Diff line change
@@ -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 <jdfenw@gmail.com>
" 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')
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
8 changes: 5 additions & 3 deletions plugin/panvimwiki.vim
Original file line number Diff line number Diff line change
@@ -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 <jdfenw@gmail.com>
" Last Change: 2024-01-01

" Should we load? {{{1
if exists('g:panvimwiki_loaded') || !has("python3") || &compatible
Expand Down Expand Up @@ -35,3 +36,4 @@ let s:plugin_root_dir = fnamemodify(resolve(expand('<sfile>: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

0 comments on commit 5c33670

Please sign in to comment.