Closed sergiornelas closed 5 months ago
Hey o/ Thanks for reporting the issue. I've investigated this bug and I recommend opening an issue in neovim instead. Here is what is happening:
vim.fn.bufwinid
;nvim_win_call
with the window id and then I fetch the start and end line of the current window with vim.fn.line('w0')
and vim.fn.line(w$)
;<c-^>
, neovim returns 1 for both vim.fn.line
calls, which obviously will not highlight anything.This is definetely a neovim bug which is not returning the correct values when calling vim.fn.line
. I will be closing this issue since there is nothing I can do on my side to fix this.
If I change the buffer using for example <c-^>, and return back, the highlight colors dissappears: