mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-14 04:11:13 +00:00
16 lines
294 B
Lua
16 lines
294 B
Lua
local status_ok, projections = pcall(require, "projections")
|
|
if not status_ok then
|
|
return
|
|
end
|
|
|
|
projections.setup({
|
|
store_hooks = {
|
|
pre = function()
|
|
-- Close neo-tree before storing sessions
|
|
if pcall(require, "neo-tree") then
|
|
vim.cmd([[Neotree action=close]])
|
|
end
|
|
end,
|
|
},
|
|
})
|