Prevent project root change

This commit is contained in:
Marcelo Jacobus 2025-08-14 09:53:36 -03:00
parent d435f1bcab
commit 15c1cc919b

View file

@ -5,7 +5,11 @@ return {
config = function()
require("project_nvim").setup({
detection_methods = { "pattern" },
patterns = { ".git", "Gemfile", "package.json" }, -- Adjust as needed
patterns = {
".git",
"Gemfile",
-- "package.json",
}, -- Adjust as needed
sync_root_with_cwd = true, -- Sync `cwd` with project root
})