navigator.lua icon indicating copy to clipboard operation
navigator.lua copied to clipboard

Fetching symbol references causes errors

Open spindensity opened this issue 2 years ago • 1 comments

Executing the following command causes errors:

lua require('navigator.reference').reference()

image

There seems to be a problem with the code below, lsp_params should also be checked first in line 214.

https://github.com/ray-x/navigator.lua/blob/b8ad53bce4830259cd69c49ec478ab748055ed3b/lua/navigator/reference.lua#L213-L214

spindensity avatar Feb 17 '23 13:02 spindensity

You are right, there is a bug. Pushed a fix for it.

ray-x avatar Feb 17 '23 21:02 ray-x