HampusHauffman / block.nvim

209 stars 2 forks source link

virt_text_pos="inline" not supported in 9.0 #2

Closed MLFlexer closed 1 year ago

MLFlexer commented 1 year ago

I have version 9.0, which do not support virt_text_pos="inline", which is used here: https://github.com/HampusHauffman/block.nvim/blob/c2f5141226870c2a64a2a76da79209f2abcb95a8/lua/block/block.lua#LL82C13-L82C37

So I get an error whenever I try to enable the plugin.

If the virt_text_pos="inline" is a requirement for the plugin to work, then it might only work on the nightly release or whenever the 10.x release is out?

HampusHauffman commented 1 year ago

Thank you. I've made a fix for this.

HampusHauffman commented 1 year ago

https://github.com/HampusHauffman/block.nvim/commit/e67d91e16420379f941eb23449f8cc6854b92e45