Commit Graph

45 Commits

Author SHA1 Message Date
6bb43882fb fix(default): imediatly save before quiting or suspending 2025-01-07 13:00:04 +01:00
Toni Müller
f8e3ac2857 chore: Deprecate unneeded utils, don't print enable/disable msg (#60) 2024-12-04 08:17:34 +02:00
Toni Müller
95544f7467 chore!: fix cancel_deferred_save event typo (#58)
Copied over from https://github.com/okuuva/auto-save.nvim/pull/48

---------

Co-authored-by: Sergey Kochetkov <skoch13@pm.me>
2024-10-09 13:06:36 +02:00
Toni Müller
1747cf21c6 feat!: Remove deprecated execution message (#54)
This removes the execution message and adds a comment to the README on
how to readd them via Autocommands.

Also I implemented a function to handle breaking changes. It can later
be used for https://github.com/okuuva/auto-save.nvim/pull/48

This merges in a feature branch. I would like to collect all potential
breaking changes there until we can release it all together in a version
1.0.0

---------

Co-authored-by: okuuva <okuuva@users.noreply.github.com>
2024-05-18 08:46:46 +03:00
Toni Müller
fddbf38851 feat: GH-44 lock marks when saving (#53)
Use `lockmarks` in write command to keep `[` and `]` marks after saving.

Thanks @simonmandlik

---------

Co-authored-by: okuuva <okuuva@users.noreply.github.com>
2024-04-25 08:34:17 +02:00
Toni Müller
b23f238128 feat: GH-45 Add events when enabling/disabling the plugin (#46) 2024-02-27 09:27:10 +02:00
Toni Müller
723168365b feat: GH-40 Add pattern to trigger_events (#42) 2023-11-08 09:30:21 +01:00
okuuva
83c96b11ed chore(doc): switch Events / Callbacks emoji (#35)
Demojify used by panvimdoc to strip emojis is outdated, it doesn't include any codepoints since Unicode 12. So Hook emoji ended up in the vimdoc since it was included in Unicode 13. Switching to an older emoji is good enough a workaround for now.

Also bumped panvimdoc version.
2023-07-27 17:30:17 +03:00
kang
6ac670196a fix(readme): add missing end-of-line comma in Lazy.nvim installation configuration (#34) 2023-07-21 09:34:13 +03:00
Toni Müller
c7427f4d78 feat: [#15] Implement config option for noautocmd (#31) 2023-07-21 08:32:24 +02:00
Toni Müller
f134f34512 feat!: Replace callbacks with autocommand events (#25) 2023-07-03 17:29:54 +03:00
okuuva
5e961d1e0d ci: add vimdoc auto-generation workflow (#23)
vimdoc should update on every commit to `main`. This way the "Last change" info in vimdoc actually shows when the code was last changed even if the source file for help didn't change.

Other notable changes:
- Made README.md panvimdoc compatible
  - Got rid of `<details>` and `<summary>` tags in installation instructions
  - Made title, description and badges markdown only features (not included in vimdoc)
- Tweaked README.md appearance
  - Raised all heading levels by one
  - Updated description
  - Added license badge
  - Removed customisations from badges
    - Left style as For the Badge though
- Added initial vimdoc, locally generated with panvimdoc

Closes #10.
2023-04-30 16:25:05 +03:00
Toni Müller
42d1342b9e feature: Add logger for debugging (#18) 2023-04-25 11:33:25 +03:00
Toni Müller
55e8731d53 refactor!: Assert condition before setting timers (#16)
This solves #12

See #16 for more details.
2023-04-17 21:45:44 +03:00
okuuva
1fe7f6243f docs: add note about conventional commits to readme (#14) 2023-03-28 10:24:02 +03:00
Toni Müller
a5e39553c5 feat: add defer_save, cancel_save, immediate_save trigger options (#11)
Fixes #8
2023-03-28 10:11:00 +03:00
Oula Kuuva
343bbfa98a style: autoformat all the things
Namely: applied stylua to the whole repo and ran marksman on README.md.
2023-03-21 08:57:03 +02:00
Oula Kuuva
57cdc6f0d1 docs: add installation instructions for lazy.nvim 2023-03-20 21:34:35 +02:00
Oula Kuuva
b4772196c1 docs: add contributing section to readme 2023-03-20 21:34:35 +02:00
Oula Kuuva
e09d121ff2 docs: point links to this repo
Also added acknowledgement to Pocco81's work on the original plugin.
2023-03-20 21:34:35 +02:00
Oula Kuuva
ecde274050 docs: drop breaking change notification
Ancient news, doesn't affect this repo.
2023-03-20 21:34:35 +02:00
Jakub Łuczyński
4db41a2155 feat: allow to disable execution_message
Squashed changes from https://github.com/Pocco81/auto-save.nvim/pull/50
Got too hairy for a GH noob like me to fix properly.
2023-02-12 18:18:09 +02:00
Pocco81
fd65d8c924 docs: updated default conf 2022-08-06 17:16:01 -05:00
charludo
69a0ebb850 Update README.md 2022-08-02 11:21:10 +02:00
charludo
b9fac4628d Update README.md 2022-08-02 11:20:49 +02:00
Pocco81
ba4be14b1f updated default cleaning_interval 2022-07-31 00:52:21 -05:00
Pocco81
0288839edd BREAKING CHANGES: plugin rewrite 2022-07-31 00:27:43 -05:00
Pocco81
8df684bcb3 doc: documented vim.g.autosave_state 2021-11-02 19:21:31 -05:00
sakkke
268069b1a5 add filename_is_not condition 2021-09-23 12:44:11 +09:00
Pocco81
b1df927abe added recommendations 2021-07-31 12:58:49 -05:00
Pocco81
7ae42195e5 Merge pull request #9 from refractalize/better-events-default
Better events default
2021-07-18 19:22:47 -05:00
Pocco81
a1aa1de7f6 fix: updated doc for missmmatching default debounce_delay value 2021-07-17 11:31:25 -05:00
Tim Macfarlane
86adb4ef60 Better events default 2021-07-17 10:04:15 +02:00
Pocco81
c9dad569f1 extended #7 notice by adding #8 2021-07-15 11:31:19 -05:00
Pocco81
ad0c8c8f6f added doc and fixed small logic issues with debounce_delay 2021-07-15 11:19:52 -05:00
Tim Macfarlane
5a32f8ec48 debounce write to improve responsiveness 2021-07-15 11:50:03 +02:00
kdav5758
42bbcfddf3 centered banner 2021-07-04 22:33:18 -05:00
kdav5758
1d98d41a7b fix #4 #5: improved doc and clarified stuff 2021-07-04 21:17:31 -05:00
kdav5758
8c4f4f6d99 set write_all_buffers = false 2021-07-02 22:32:30 -05:00
kdav5758
3598acc5cc removed verbosity 2021-07-02 22:19:50 -05:00
kdav5758
9582a5ec49 fixed typo 2021-07-02 00:08:43 -05:00
kdav5758
93c6476c1d improvements 2021-07-01 23:05:01 -05:00
kdav5758
0781634b4f finished readme 2021-07-01 21:38:44 -05:00
kdav5758
9c49e293c5 added gif and shields 2021-07-01 21:08:38 -05:00
Pocco81
969be18e92 Initial commit 2021-07-01 11:41:25 -05:00