Skip to content

Releases: zhimsel/vim-stay

1.4.3

07 Jul 14:21
af61418
Compare
Choose a tag to compare

Full Changelog: v1.4.2...v1.4.3

This release includes some internal CI improvements, documentation fixes/linting, and some minor improvements to the :CleanViewdir command.

<insert witty title about bugfixes here>

31 Mar 22:03
a42af90
Compare
Choose a tag to compare

A few of bugs were fixed, and some documentation was updated.

Please refer to git diff v1.4.1 v1.4.2 for a list of what changed.

View creation errors can Stay in /dev/null

Improved staying with vim-stay!

18 Jul 19:04
Compare
Choose a tag to compare

Changes

  • Many bugfixes
  • Internal improvements

For a verbose list of changes, see the commit history.

Stay fast. Stay good. Bugfix edition.

31 Mar 17:47
Compare
Choose a tag to compare

Fixed:

glob2regpat() would not be detected.

… plus all the goodies from release 1.3.0:

Added:

vim-stay now stores the path to the last view session file it loaded in b:stay_loaded_view.

Changed:

Sourcing / writing autocommands for view session files are not suppressed anymore.

Fixed:

  • buffer persistency testing was slow, it’s not anymore: with a speedup by a factor of 100 (even more if your Vim version supports glob2regpat()), there should be no more delays when switching buffers.
  • BufStay*Post autocommands would not always be fired if view session loading / saving failed, which could leave integration modules in an inconsistent state.
  • SessionLoadPost was fired even if no view session file was actually loaded, which would cause trouble with other plug-ins not expecting such spurious events (see Konfekt/FastFold#16).
  • typo in the docs. It’s stay, not stray. We definitely don’t do that.

Removed:

Nothing.

Stay fast. Stay good.

31 Mar 17:25
Compare
Choose a tag to compare

Added:

vim-stay now stores the path to the last view session file it loaded in b:stay_loaded_view.

Changed:

Sourcing / writing autocommands for view session files are not suppressed anymore.

Fixed:

  • buffer persistency testing was slow, it’s not anymore: with a speedup by a factor of 100 (even more if your Vim version supports glob2regpat()), there should be no more delays when switching buffers.
  • BufStay*Post autocommands would not always be fired if view session loading / saving failed, which could leave integration modules in an inconsistent state.
  • SessionLoadPost was fired even if no view session file was actually loaded, which would cause trouble with other plug-ins not expecting such spurious events (see Konfekt/FastFold#16).
  • typo in the docs. It’s stay, not stray. We definitely don’t do that.

Removed:

Nothing.

Well-mannered staying edition

04 Mar 11:24
Compare
Choose a tag to compare

Added:

  • ignore files in known temp paths (based on Vim’s backupskip option)
  • ignore file types for other version control systems than Git – Mercurial, Bazaar, CVS and SVN users, vim-stay now has you covered
  • :CleanViewdir command to easily remove view session files from your viedwir (#8)
  • :StayReload command for when you need to reload vim-stay and / or its 3rd party integrations

Changed:

  • loading a view session now fires a SessionLoadPost event
  • autocommand events are now only fired when there is a defined autocommand for them – no need to unsilent everything anymore
  • errors loading a view session files are now quietly discarded
  • compatibility requirements are now fully documented in help
  • more helpful 3rd party integration failure messages
  • FastFold integration now is conditional on the FastFold plug-in being, you know, actually installed (and has a much smaller footprint when it is not)
  • for better performance, stay#shim#globpath is now statically defined depending on Vim version (it’s not like your Vim version and patch level is likely to change during your editing session)

Fixed:

  • volatile file types would not be recognised when the buffer had a composite filetype (that‘s the multi-file types separated by a dot for you)
  • the stay#shim#globpath shim for older Vim versions
    • would not process all globpath() arguments
    • did not check for Vim patch levels correctly
    • would not find files whose path contains a newline
  • several issues with FastFold integration (#5)
    • FastFold fold method would not be reset to manual after saving a view
    • FastFold fold method would be overwritten when first loading a view
  • incorrect TOC in help document
  • duplicate help tag in documentation (Pathogen users, rejoice – #7)

Removed:

  • stay-side integration for vim-fetch (don’t fear, it’s not gone – just provided by vim-fetch starting from its version 2. Dogfooding, that is, kids).

Senior staying edition

06 Feb 13:36
Compare
Choose a tag to compare

Added:

Nothing.

Changed:

  • heuristics refinements – it should be less necessary than ever to modify g:volatile_ftypes, and no more netrw lurking there by default.

Fixed:

  • failure to initialise in Vim versions below 7.4.279 (#6).
  • gitsendmail files being considered persistent.

Removed:

Nothing.

Extended staying edition

05 Feb 10:00
Compare
Choose a tag to compare

Added:

  • autocommand API via User events:
    • BufStayLoadPreand BufStayLoadPost before and after loading a view session;
    • BufStaySavePreand BufStaySavePost before and after saving a view session.
  • extended integration API for 3rd party plug-ins: one unified mechanism to integrate other plug-ins with vim-stay from either inside vim-stay, inside the 3rd party plug-in, or via a separate connector plug-in.
  • FastFold integration based on the above. Thanks to @Konfekt for his input.

Fixed:

  • README glitches.

Removed:

Nothing.

Tidier staying edition

04 Feb 16:39
Compare
Choose a tag to compare

Added:

Nothing.

Fixed:

  • amended various glitches in the documentation (with help from @mikedfunk).
  • clarified misleading documentation of g:volatile_ftypes. PSA: this is not the main configuration mechanism, users should not usually have to change its default value.
  • stop window switches messing up alt files and the jumplist or triggering autocommands (only relevant if you use stay#view#make()or stay#view#load() directly. Still, better safe than sorry).

Removed:

Nothing.