diff --git a/modules/nixvim/auto-save.nix b/modules/nixvim/auto-save.nix deleted file mode 100644 index 732944ba..00000000 --- a/modules/nixvim/auto-save.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - flake.modules.nixvim.custom.plugins.auto-save = { - enable = true; - - settings.condition = '' - function(buf) - local excluded_filetypes = {} - - local excluded_filenames = {} - - if vim.tbl_contains(excluded_filetypes, vim.fn.getbufvar(buf, "&filetype")) - or vim.tbl_contains(excluded_filenames, vim.fn.expand("%:t")) - then - return false - end - - return true - end - ''; - }; -}