Skip to content

Too narrow in lazyvim #488

@poorwym

Description

@poorwym
Image I use Aerial in Lazyvim but the sidewindow is too narrow for me. I try to edit the config but it couldn't work. Here is my config (ChatGPT helps me to write that):
return {
  {
    "stevearc/aerial.nvim",
    opts = function(_, opts)
      opts.layout = vim.tbl_deep_extend("force", opts.layout or {}, {
        default_direction = "right",
        min_width = 50,
        max_width = { 80, 0.35 }, 
        resize_to_content = false, 
        preserve_equality = true, 
      })
      return opts
    end,
    keys = {
      { "<leader>cs", "<cmd>AerialToggle!<CR>", desc = "Symbols Outline (Aerial)" },
    },
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions