Closed igorlfs closed 1 year ago
You must have a mapping like nnoremap k gk
.
gk
by default will move the cursor to the fold end. Not sure whether it is a bug but someone already reported it in Neovim (https://github.com/neovim/neovim/issues/15490)
You must have a mapping like
nnoremap k gk
.
Indeeed, I do!
Neovim version (nvim -v | head -n1)
NVIM v0.8.2
Operating system/version
Arch Linux 6.1.8
How to reproduce the issue
cat mini.lua
nvim --clean +'so mini.lua'
Expected behavior
The last line in the preview should not be highlighted.
Actual behavior
https://user-images.githubusercontent.com/84649544/216379499-d8d985fa-2ec9-42f3-ba4f-2bbd4159e89d.mp4