mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-11-15 10:21:12 +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,
|
||
|
},
|
||
|
})
|