Update nvim
This commit is contained in:
1 parent
1349e3b76f
commit
f207707bc9
11 files changed
+115
-214
No files matched your search
@@ -0,0 +1,18 @@
|
||||
vim.pack.add({
|
||||
{ src = "https://github.com/rmagatti/auto-session", version = vim.version.range("^2") },
|
||||
})
|
||||
|
||||
require("auto-session").setup({
|
||||
-- Sessions are keyed by cwd, so each folder restores its own buffers/windows.
|
||||
-- Disable auto-save/restore when launched with file arguments (e.g. nvim foo.txt).
|
||||
auto_save = function()
|
||||
return vim.fn.argc(-1) == 0
|
||||
end,
|
||||
auto_restore = function()
|
||||
return vim.fn.argc(-1) == 0
|
||||
end,
|
||||
suppressed_dirs = { "~/.", "/tmp", "~/Downloads" },
|
||||
session_lens = {
|
||||
load_on_setup = false,
|
||||
},
|
||||
})
|
||||
Reference in new issue
Block a user