Move neovim/nixvim configuration

This commit is contained in:
Oliver Davies 2025-07-26 02:35:57 +01:00
parent 32e28379e2
commit 6c1b494e82
56 changed files with 438 additions and 404 deletions

View file

@ -0,0 +1,24 @@
{
flake.modules.nixvim.custom.plugins.auto-save = {
enable = true;
settings.condition = ''
function(buf)
local excluded_filetypes = {
"harpoon",
"oil",
}
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
'';
};
}