summaryrefslogtreecommitdiff
path: root/lua/core/rooter.lua
blob: 8ebdf7ccaafff1ae055e889f3c437918c41ba6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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