mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-25 14:01:03 +00:00
Prevent project root change
This commit is contained in:
parent
d435f1bcab
commit
15c1cc919b
1 changed files with 5 additions and 1 deletions
|
|
@ -5,7 +5,11 @@ return {
|
||||||
config = function()
|
config = function()
|
||||||
require("project_nvim").setup({
|
require("project_nvim").setup({
|
||||||
detection_methods = { "pattern" },
|
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
|
sync_root_with_cwd = true, -- Sync `cwd` with project root
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue