starter/lua/plugins/project.lua
2024-11-18 10:38:47 -03:00

14 lines
419 B
Lua

-- lua/plugins/project.lua
return {
{
"ahmedkhalf/project.nvim",
config = function()
require("project_nvim").setup({
detection_methods = { "pattern" },
patterns = { ".git", "Gemfile", "package.json" }, -- Adjust for your project
sync_root_with_cwd = true, -- Ensure working directory syncs with root
})
require("telescope").load_extension("projects")
end,
},
}