neovim/init: enable preventJunkFiles by default

This commit is contained in:
NotAShelf 2025-01-19 13:21:51 +03:00
parent abd9176a2a
commit db8a586b7e
No known key found for this signature in database
GPG key ID: EED98D11B85A2819

View file

@ -55,8 +55,14 @@ in {
preventJunkFiles = mkOption {
type = bool;
default = false;
description = "Prevent swapfile and backupfile from being created";
default = true;
example = false;
description = ''
Prevent swapfile and backupfile from being created.
`false` is the default Neovim behaviour. If you wish to create
backup and swapfiles, set this option to `false`.
'';
};
bell = mkOption {