mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
fix(nvim): Rooter: only change root when ".git" directory is found
- We do NOT want to change the project root on a multi-project repo
This commit is contained in:
@@ -199,6 +199,7 @@ return {
|
||||
cond = require("config.util").is_not_vscode(),
|
||||
config = function()
|
||||
vim.g.rooter_cd_cmd = "tcd" -- Use tcd command to change the root
|
||||
vim.g.rooter_patterns = { ".git" }
|
||||
end,
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user