nvim-snappy/lua/plugins/workflow/neovim-project.lua

31 lines
788 B
Lua

-- neovim-project
--- Lightweight workspace, project and session manager.
-- Utilities
return {
"coffebar/neovim-project",
opts = {
projects = { -- define project roots
"~/src/*",
"~/.config/*",
},
picker = {
type = "telescope", -- or "fzf-lua"
}
},
init = function()
-- enable saving the state of plugins in the session
vim.opt.sessionoptions:append("globals") -- save global variables that start with an uppercase letter and contain at least one lowercase letter.
end,
dependencies = {
{ "nvim-lua/plenary.nvim" },
-- optional picker
{ "nvim-telescope/telescope.nvim", tag = "0.1.4" },
-- optional picker
{ "ibhagwan/fzf-lua" },
{ "Shatur/neovim-session-manager" },
},
lazy = false,
priority = 100,
}