mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-18 08:18:24 +02:00
[Refactor]: Remove vim-rooter and smart-cwd; then use project.nvim (#1315)
* Replace vim-rooter with project.nvim * Implement stylua format * Remove smart_cwd * Implicitly update nvim-tree dir when project active * Link datapath to cache * Fix stylua * Fix lint * Fix telescope bug * Fix telescope dependency * Fix telescope once and for all * Fix telescope once again
This commit is contained in:
parent
21b621c95a
commit
b9b9c69615
8 changed files with 69 additions and 42 deletions
|
@ -147,17 +147,16 @@ return {
|
|||
disable = not lvim.builtin.comment.active,
|
||||
},
|
||||
|
||||
-- vim-rooter
|
||||
-- project.nvim
|
||||
{
|
||||
"airblade/vim-rooter",
|
||||
-- event = "BufReadPre",
|
||||
"ahmedkhalf/project.nvim",
|
||||
config = function()
|
||||
require("core.rooter").setup()
|
||||
if lvim.builtin.rooter.on_config_done then
|
||||
lvim.builtin.rooter.on_config_done()
|
||||
require("core.project").setup()
|
||||
if lvim.builtin.project.on_config_done then
|
||||
lvim.builtin.project.on_config_done()
|
||||
end
|
||||
end,
|
||||
disable = not lvim.builtin.rooter.active,
|
||||
disable = not lvim.builtin.project.active,
|
||||
},
|
||||
|
||||
-- Icons
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue