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,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Autostore session on VimExit
|
-- -- Autostore session on VimExit
|
||||||
local Session = require("projections.session")
|
-- local Session = require("projections.session")
|
||||||
vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
|
-- vim.api.nvim_create_autocmd({ "VimLeavePre" }, {
|
||||||
callback = function()
|
-- callback = function()
|
||||||
Session.store(vim.loop.cwd())
|
-- Session.store(vim.loop.cwd())
|
||||||
end,
|
-- end,
|
||||||
})
|
-- })
|
||||||
|
|
||||||
-- Ensure terraform files use hcl LSP
|
-- Ensure terraform files use hcl LSP
|
||||||
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
vim.api.nvim_create_autocmd({ "BufNewFile", "BufRead" }, {
|
||||||
|
Loading…
Reference in New Issue
Block a user