rooter.lua 409 B

123456789101112131415
  1. local M = {}
  2. function M.config()
  3. lvim.builtin.rooter = {
  4. --- This is on by default since it's currently the expected behavior.
  5. ---@usage set to false to disable vim-rooter.
  6. active = true,
  7. silent_chdir = 1,
  8. manual_only = 0,
  9. }
  10. end
  11. function M.setup()
  12. vim.g.rooter_silent_chdir = lvim.builtin.rooter.silent_chdir
  13. vim.g.rooter_manual_only = lvim.builtin.rooter.manual_only
  14. end
  15. return M