mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 12:48:01 +00:00
[neovim] Remove autosave sessions on exit
This commit is contained in:
parent
fee817f060
commit
68b5317f89
@ -34,13 +34,13 @@ vim.api.nvim_create_autocmd({ "BufWinEnter" }, {
|
||||
end,
|
||||
})
|
||||
|
||||
-- Autostore session on VimExit
|
||||
local Session = require("projections.session")
|
||||
vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
|
||||
callback = function()
|
||||
Session.store(vim.loop.cwd())
|
||||
end,
|
||||
})
|
||||
-- -- Autostore session on VimExit
|
||||
-- local Session = require("projections.session")
|
||||
-- vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
|
||||
-- callback = function()
|
||||
-- Session.store(vim.loop.cwd())
|
||||
-- end,
|
||||
-- })
|
||||
|
||||
-- Ensure terraform files use hcl LSP
|
||||
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
||||
|
Loading…
Reference in New Issue
Block a user