Releases: LintaoAmons/scratch.nvim
Releases · LintaoAmons/scratch.nvim
v1.3.0
Release Notes
New Features
- 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
-
Refactored File Creation Logic
- Separated file path generation from file creation for better modularity.
-
Code Cleanup
- Removed deprecated
initDir
function fromutils.lua
.
- Removed deprecated
-
Naming Consistency
- Renamed
scratchWithName
toscratch_with_name
for consistency with Lua naming conventions.
- Renamed
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
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
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
What's Changed
- A thorough overhaul of the config module. by @LintaoAmons in #37
New Contributors
- @LintaoAmons made their first contribution in #37
Full Changelog: v0.13.3...v1.0.0
v0.13.3 Add breaking change warning
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
What's Changed
- fix: ScratchWithName empty input error by @OliverChao in #27
- Remove files elegantly and support Windows by @OliverChao in #25
Full Changelog: v0.13.1...v0.13.2
v0.13.1
v0.13.0
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
- @OliverChao made their first contribution in #22
Full Changelog: v0.12.0...v0.13.0
Add win32 support
What's Changed
- feat:
win32
support by @yorik1984 in #18
New Contributors
- @yorik1984 made their first contribution in #18
Full Changelog: v0.11.0...v0.12.0
window_cmd option to allow user to control the window position and behaviour
{
...
"window_cmd": "edit", // 'vsplit' | 'split' | 'edit' | 'tabedit' | 'rightbelow vsplit'. Can use rightbelow or topleft etc. as modifier
...
}
Thanks @kohane27 for the pr