I'm trying to setup Neogit to open in my workspace directory instead of cwd. My initial try was to use something like this (I use NvChad):
```
M.neovim = {
  n = {
    ["<leader>gg"] = {
      function()
          local neovim = require("neogit");
          local lspconfig = require("lspconfig");
          neovim.open({ cwd = lspconfig.config.root_dir })
      end,
      "Open Neogit in lsp cwd",
    },
  }
}
```
But however I tried that it throws a bunch of errors. I'm not good enough in lua to figure this out...
So I'm looking for ideas, how to achieve this :D