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

Use `extmark.conceal` to calcualte window width

Open folke opened this issue 3 years ago • 0 comments

Window width is currently calculate based on the content width.

It would be better to base it off the width of the concealed text.

Not ideal though, since treesitter highlighter probably runs async, so we'd have to listen for treesitter onchange events and change the window width after the fact.

folke avatar Oct 29 '22 09:10 folke