sourcegraph / sg.nvim

Experimental Sourcegraph + Cody plugin for Neovim
Apache License 2.0
722 stars 50 forks source link

attempt to index local 'location' error #209

Open kapral18 opened 9 months ago

kapral18 commented 9 months ago
image

I don't have anything special in my config except just the plugin string for sg.nvim on top of latest lazyvim distro

tjdevries commented 8 months ago

Can you run :checkhealth sg for me? And please update to latest plugin, I just pushed some pretty big changes

kapral18 commented 8 months ago

@tjdevries

image

and for reference https://github.com/kapral18/dotfiles/blob/3b2e742c50c36c4d6d4e284af8bb9b8b90c2b3cd/home/dot_config/exact_nvim/exact_lua/exact_plugins/ai.lua#L105

tjdevries commented 8 months ago

The error is still happening?

kapral18 commented 8 months ago

@tjdevries yepp

kapral18 commented 8 months ago

Can you run :checkhealth sg for me? And please update to latest plugin, I just pushed some pretty big changes

I noticed and I tried. I also nuked nvim instance with cache and state folders to make sure it's not affecting.

Still the same result unfortunately

tjdevries commented 8 months ago

Does this PR fix your problem? https://github.com/sourcegraph/sg.nvim/pull/221

kapral18 commented 8 months ago

PR removes the error output, but going to definition still doesn't work

amazr commented 7 months ago

Also seeing this. Just logging the error in textDocument/definition gives: 'RPC[Error] code_name = ParseError, message = "No corresponding code intelligence"'. Some extra context that may or may not be relevant is that my sg url is not the default one.

daniel-hernandez-sony commented 5 months ago

I am also seeing this error with the default sourcegraph url and my health check looks healthy. Happy to give any extra info!

image

kqvanity commented 1 month ago

I'm using it on a local instance, and getting the same error as well