feat: add auto_save_on_select_new_entry config option
Problem: users who want hands-off behaviour had no way to skip the `prompt_save_on_select_new_entry` confirmation dialog — enabling the prompt meant always being asked, with no silent auto-save path. Solution: add `auto_save_on_select_new_entry` (default `false`) which, when true, calls `M.save()` and proceeds immediately instead of showing the confirm dialog. Includes type annotations, vimdoc, and upstream tracker update for stevearc/oil.nvim#393.
This commit is contained in:
parent
082573d779
commit
f8521ede17
4 changed files with 14 additions and 1 deletions
|
|
@ -316,6 +316,12 @@ prompt_save_on_select_new_entry *canola.prompt_save_on_select_new_e
|
|||
When this option is `true`, Canola will prompt you to save before entering a file or
|
||||
directory that is pending within canola, but does not exist on disk.
|
||||
|
||||
auto_save_on_select_new_entry *canola.auto_save_on_select_new_entry*
|
||||
type: `boolean` default: `false`
|
||||
When `prompt_save_on_select_new_entry` is true and you select a
|
||||
new/moved/renamed entry, automatically save without prompting instead of
|
||||
showing a confirmation dialog.
|
||||
|
||||
cleanup_buffers_on_delete *canola.cleanup_buffers_on_delete*
|
||||
type: `boolean` default: `false`
|
||||
When `true`, canola will wipe any open buffer whose path matches a file that
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue