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

31 lines
747 B
Lua
Raw Normal View History

2025-02-12 11:49:02 +01:00
-- 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,
2025-02-12 11:49:02 +01:00
}