I got the following error when switching the buffer of the current window into a terminal buffer:
Error executing vim.schedule lua callback: ...ng/.local/share/nvim/lazy/block.nvim/lua/block/block.lua:81: Invalid 'line': out of range
stack traceback:
[C]: in function 'nvim_buf_set_extmark'
...ng/.local/share/nvim/lazy/block.nvim/lua/block/block.lua:81: in function 'color_mts_node'
...ng/.local/share/nvim/lazy/block.nvim/lua/block/block.lua:149: in function 'update'
...ang/.local/share/nvim/lazy/block.nvim/lua/block/init.lua:43: in function <...ang/.local/share/nvim/lazy/block.nvim/lua/block/init.lua:42>
I got the following error when switching the buffer of the current window into a terminal buffer:
This is the error mentioned in #15.
DEMO
https://github.com/HampusHauffman/block.nvim/assets/24765272/4851da56-9b11-4299-bb1e-fd32a12d0584