feat(ide): auto-save

This commit is contained in:
Guz
2024-12-06 20:47:55 -03:00
parent 5750b2b540
commit 5810a2e883
2 changed files with 17 additions and 0 deletions

View File

@@ -1,4 +1,20 @@
return {
{
"auto-save-nvim",
cmd = "ASToggle",
event = { "InsertLeave", "TextChanged" },
after = function()
require("auto-save").setup({
condition = function(buf)
if vim.bo[buf].filetype == "harpoon" then
return false
end
return true
end,
})
end,
},
{
"blink-cmp",
event = "InsertEnter",

View File

@@ -25,6 +25,7 @@
optPlugins = with pkgs;
with pkgs.vimPlugins; [
auto-save-nvim
blink-cmp
friendly-snippets
harpoon2