nvimdev / indentmini.nvim

A minimal and blazing fast indentline plugin
MIT License
171 stars 12 forks source link

Use `virt_text_win_col` for `nvim_buf_set_extmark` #9

Closed xsh005 closed 9 months ago

xsh005 commented 9 months ago

That way indentline doesn't "break" on empty lines

glepnir commented 9 months ago

emm nope. some time empty lines no indent line because the decoration provider just provide the lines which in screen visiable. that mean line('w0') line('w$'). this may missing before context. the only solution is use treeistter to check the empty line parent node type.

xsh005 commented 9 months ago

ah, I see