Skip to content

Releases: LintaoAmons/scratch.nvim

v1.3.0

08 Oct 05:15
Compare
Choose a tag to compare

Release Notes

New Features

  1. Hooks System
    • Introduced a new hooks system allowing users to execute custom callbacks after certain actions.
    • Added hooks.lua to manage and trigger hooks.
    • Implemented AFTER trigger point for hooks.

Improvements

  1. Refactored File Creation Logic

    • Separated file path generation from file creation for better modularity.
  2. Code Cleanup

    • Removed deprecated initDir function from utils.lua.
  3. Naming Consistency

    • Renamed scratchWithName to scratch_with_name for consistency with Lua naming conventions.

Bug Fixes

  • Fixed potential issues with non-existent parent directories when creating scratch files.

Other Changes

  • Updated README.md with an example of using hooks.
  • Minor code style and formatting improvements.

New Contributors

Full Changelog: v1.2.0...v1.3.0

v1.2.0

10 Aug 13:06
Compare
Choose a tag to compare

Add file picker options for fzf-lua which put the latest modified files at the top

Full Changelog: v1.1.0...v1.2.0

v1.1.0

26 Jun 12:59
2f72b8a
Compare
Choose a tag to compare

What's Changed

  • Dev by @LintaoAmons in #40
  • refactor api module
  • add popup as a option when create scratch file

Full Changelog: v1.0.0...v1.1.0

v1.0.0

08 Jun 13:28
d41ddea
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.3...v1.0.0

v0.13.3 Add breaking change warning

25 May 03:10
Compare
Choose a tag to compare

Add breaking change warning

There's a new patch comming, which has a thorough overhaul of the config module and will cause breaking changes.
Please use tag to pin the version if you don't want to modify your current configuration
If you want to try it now, you can switch to config-refacor branch or pr 37

v0.13.2

16 Dec 04:02
285eb19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.13.1...v0.13.2

v0.13.1

12 Dec 04:37
852932f
Compare
Choose a tag to compare

What's Changed

  • fix: delete redundant print by @xlboy in #24

New Contributors

  • @xlboy made their first contribution in #24

Full Changelog: v0.13.0...v0.13.1

v0.13.0

11 Dec 14:24
Compare
Choose a tag to compare

What's Changed

  • Add telescope check and add delete map for ScratchOpenFzf by @OliverChao in #22
Screen.Recording.2023-12-10.at.17.10.19.mp4

New Contributors

Full Changelog: v0.12.0...v0.13.0

Add win32 support

25 Nov 03:49
fe42ee5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.12.0

window_cmd option to allow user to control the window position and behaviour

29 Oct 05:14
b979226
Compare
Choose a tag to compare
{
...
  "window_cmd": "edit", // 'vsplit' | 'split' | 'edit' | 'tabedit' | 'rightbelow vsplit'. Can use rightbelow or topleft etc. as modifier
...
}

Thanks @kohane27 for the pr