From 15c1cc919b38e29a8caa68426510fc4dabe3b51b Mon Sep 17 00:00:00 2001 From: Marcelo Jacobus Date: Thu, 14 Aug 2025 09:53:36 -0300 Subject: [PATCH] Prevent project root change --- lua/plugins/project.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/plugins/project.lua b/lua/plugins/project.lua index 4d3ebd2..a62ab5d 100644 --- a/lua/plugins/project.lua +++ b/lua/plugins/project.lua @@ -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 })