diff options
author | Ahmed Khalf <[email protected]> | 2021-08-18 09:34:26 +0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-18 01:34:26 -0400 |
commit | b9b9c69615b469146e3cc75adcf9bd61047404eb (patch) | |
tree | e6b3ea906e1c1d2c6710deec6e16ae5f01799713 /lua/core/rooter.lua | |
parent | 21b621c95af592d0da46a29fe4dcc02e5d16c6eb (diff) |
[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
Diffstat (limited to 'lua/core/rooter.lua')
-rw-r--r-- | lua/core/rooter.lua | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lua/core/rooter.lua b/lua/core/rooter.lua deleted file mode 100644 index 8ebdf7cc..00000000 --- a/lua/core/rooter.lua +++ /dev/null @@ -1,15 +0,0 @@ -local M = {} -function M.config() - lvim.builtin.rooter = { - --- This is on by default since it's currently the expected behavior. - ---@usage set to false to disable vim-rooter. - active = true, - silent_chdir = 1, - manual_only = 0, - } -end -function M.setup() - vim.g.rooter_silent_chdir = lvim.builtin.rooter.silent_chdir - vim.g.rooter_manual_only = lvim.builtin.rooter.manual_only -end -return M |