VidocqH / lsp-lens.nvim

Neovim plugin for displaying references and difinition infos upon functions like JB's IDEA.
MIT License
252 stars 15 forks source link

Fix line value outside range #7

Closed xiantang closed 1 year ago

xiantang commented 1 year ago

close https://github.com/VidocqH/lsp-lens.nvim/issues/4

xiantang commented 1 year ago

the result is look like this :

image

I tried setting strict to false and virt_lines_above to true, but I still can't display a reference above the line when the line number is 0 or 1, maybe it's related to the neovim upstream, but this PR is better than causing an error

VidocqH commented 1 year ago

Thanks!