1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-11-09 15:01:13 +00:00
dotfiles/.config/nvim/lua/plugins/projections.lua

16 lines
294 B
Lua
Raw Normal View History

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,
},
})