Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching symbol references causes errors #263

Open
spindensity opened this issue Feb 17, 2023 · 1 comment
Open

Fetching symbol references causes errors #263

spindensity opened this issue Feb 17, 2023 · 1 comment

Comments

@spindensity
Copy link
Contributor

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.

local params = lsp_params or vim.lsp.util.make_position_params()
params.context = lsp_params.context or { includeDeclaration = true }

@ray-x
Copy link
Owner

ray-x commented Feb 17, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants