hedyhli / outline.nvim

Code outline sidebar powered by LSP. Significantly enhanced & refactored fork of symbols-outline.nvim.
https://sr.ht/~hedy/outline.nvim
MIT License
543 stars 15 forks source link

Feature request: allow setting the window width #59

Closed yuriescl closed 4 months ago

yuriescl commented 4 months ago

When I run :Outline it opens a window but it's too small, I'd like to be able to set how many columns I want for the Outline window.

hedyhli commented 4 months ago

Hi, please take a look at the config section of the docs: https://github.com/hedyhli/outline.nvim?tab=readme-ov-file#default-options

{
  outline_window = {
    -- ...
    -- Percentage or integer of columns
    width = 25, 
    -- Whether width is relative to the total width of nvim
    -- When relative_width = true, this means take 25% of the total
    -- screen width for outline window.
    relative_width = true,
    -- ...
}