Dhanus3133 / Leetbuddy.nvim

Solve Leetcode problems within Neovim 🔥
MIT License
138 stars 15 forks source link

Window layout different #10

Closed akshit-sharma closed 1 year ago

akshit-sharma commented 1 year ago

I opened nvim followed by :LBQuestions followed by selecting any question. On my nvim, the input.txt opened on the left and right side is divided into executable on top and code window on the bottom.

Do I need to set something explicitly?

My init file has:

    use {
      'Dhanus3133/Leetbuddy.nvim',
      requires = {
        'nvim-lua/plenary.nvim',
        'nvim-telescope/telescope.nvim',
      },
      config = function()
        require('leetbuddy').setup({
          domain = "com",
          language = "cpp",
        })
      end,
    }

Thanks

image

Dhanus3133 commented 1 year ago

This is due to the default way of splitting windows in Vim. By changing the options splitright and splitbelow to true, you can help resolve the problem.