replace vim-auto-save with AutoSave.nvim
This commit is contained in:
parent
76cdd5a29b
commit
50b00f4737
4 changed files with 31 additions and 4 deletions
|
|
@ -140,9 +140,12 @@ return packer.startup(
|
|||
|
||||
-- load autosave only if its globally enabled
|
||||
use {
|
||||
"907th/vim-auto-save",
|
||||
"Pocco81/AutoSave.nvim",
|
||||
config = function()
|
||||
require("zenmode").autoSave()
|
||||
end,
|
||||
cond = function()
|
||||
return vim.g.auto_save == 1
|
||||
return vim.g.auto_save == true
|
||||
end
|
||||
}
|
||||
|
||||
|
|
@ -157,7 +160,7 @@ return packer.startup(
|
|||
|
||||
use {
|
||||
"Pocco81/TrueZen.nvim",
|
||||
cmd = {"TZAtaraxis", "TZMinimalist"},
|
||||
cmd = {"TZAtaraxis", "TZMinimalist", "TZFocus"},
|
||||
config = function()
|
||||
require("zenmode").config()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue