1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-23 14:56:48 +00:00
dotfiles/.config/nvim/lua/plugins/projections.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,
},
})