outline.nvim icon indicating copy to clipboard operation
outline.nvim copied to clipboard

Option to support virtual text wrapping of symbol details

Open balpert89 opened this issue 7 months ago • 1 comments

I am currently configuring outline for my setup.

With opts = { outline_window = { wrap = true }, outline_items = { show_symbol_details = true } } the wrapping only takes the func name into consideration, not the signature:

image

How can I achieve wrapping to also consider the signature?

This is my current configuration, using lazy.nvim:

return {
    {
        "hedyhli/outline.nvim",
        lazy = true,
        event = { "LspAttach" },
        cmd = { "Outline", "OutlineOpen" },
        opts = {
            outline_window = {
                auto_close = false,
                auto_jump = true,
                show_numbers = false,
                width = 20,
                wrap = true,
            },
            outline_items = {
                show_symbol_lineno = true,
                show_symbol_details = true,
            },
        },
    },
}

balpert89 avatar Jul 19 '24 11:07 balpert89