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
580 stars 17 forks source link

Lineno not shown on some symbols #9

Closed hedyhli closed 10 months ago

hedyhli commented 10 months ago

The lineno feature mostly works but requires further testing.

Sometimes, the lineno is empty for a symbol, and when cursor moves below it, it is visible. After moving above it, it appears empty again.

For some other symbols that also appear empty, they remain empty regardless of cursor movements.

The behavior of missing linenos seem only to happen for about 1 or 2 symbols for every outline, sometimes none at all (everything works).

hedyhli commented 10 months ago

https://github.com/hedyhli/outline.nvim/assets/50042066/5aa7f3fa-3485-4bbc-94e1-0df4374adffc

https://github.com/hedyhli/outline.nvim/assets/50042066/410631da-6421-49b2-b7b5-705efbd62eab

https://github.com/hedyhli/outline.nvim/assets/50042066/552305b6-a53b-4dfc-b01e-9acb197f045c

hedyhli commented 10 months ago

It looks like it may be due to nvim extmarks

So I will not be prioritizing this issue for v1 for now, since increasing window width makes the lineno show up again.