mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +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()
|
||||
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
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue