Skip to content

Releases: PreciousChicken/vim-groff-viewer

v2.1.0

01 Jun 09:47
Compare
Choose a tag to compare

Some major changes in how the plugin works, although not necessarily apparent to user:

  • Now incorporates grog to determine macro package (e.g. me, ms, etc) and preprocessor (e.g. -j, -p, -t). Although default is to use grog, this can be disabled as a vim.rc / init.vim option. What this means in practice is that the user no longer has to add the relevant preprocessor in configuration options, but can let the plugin 'guess'. Grog is not used in the word count functionality. This fixes issue #1.
  • Previously when the plugin called groff the resulting standard output (e.g. postscript, pdf) was written as a temporary file using vimscript, this however seemed to cause issues with some (but not all) viewers. The simpler method of using shell redirection is now used.
  • The user can now disable the default keymappings via a vim.rc / init.vim option.
  • An issue where the :w autocmd also works on filetypes other than nroff has been fixed. This was originally raised as an issue at #6 and fixed - but later changes in the code inadvertently re-introduced the same error!

Details of configuration options (e.g. disabling grog) are provided in the updated documentation, see :help groff-viewer.

Full Changelog: v2.0.2...v2.1.0

v2.0.2

15 Aug 16:41
Compare
Choose a tag to compare

Fixes bug introduced by breaking change in Neovim (though not in Vim) whereby plugin disabled by default when standard write-filetype-plugin disabling text used. Fixes issue #9.

NB - Commit message with this tag erroneously referred to fixing issue 7.

v2.0.1

18 Jun 17:36
Compare
Choose a tag to compare

Changes:

  • Disables wordcount functionality for mom macro, see Issue #8
  • Added detail for wordcount functionality to documentation, plus licence.

Full Changelog: v2.0.0...v2.0.1

v2.0.0

07 Nov 20:55
Compare
Choose a tag to compare

Changes:

  • Added word and character count functionality with new <localleader>wc mapping (see #5).
  • Changed all mapping from <leader> to <localleader> (see #7).

Full Changelog: v1.0.4...v2.0.0

v1.0.4

10 Sep 12:00
Compare
Choose a tag to compare

Changes:

  • Fixed error where plugin applied to all open buffers and not just ones for the nroff filetype. This generated an error whenever you :w a non groff buffer (e.g. txt, md, etc) that happened to be open at the same time as a groff one.
  • Fixed error where plugin would only hardcopy print -me macro documents.

NB - There is no release v1.0.3 - I generated the git tag incorrectly!

Full Changelog: v1.0.2...v1.0.4

v1.0.2

08 Sep 17:46
Compare
Choose a tag to compare

Changes:

  • Fixed error where whitespace in path would create empty file.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

07 Aug 13:03
Compare
Choose a tag to compare

Changes:

  • Fixed error where mupdf was unable to open a pdf created with -T pdf flag. This was caused by removing the ampersand at the end of the groff execute line. This ampersand was extraneous (as groff does not need to run in the background) and was apparently problematic to mupdf reading the pdf created this way.
  • Corrected typo in licence in source code.

Full Changelog: v1.0.0...v1.0.1

v1.0.0 Initial release

18 May 18:44
Compare
Choose a tag to compare

Initial release.