attempt to index local 'location' error
I don't have anything special in my config except just the plugin string for sg.nvim on top of latest lazyvim distro
Can you run :checkhealth sg for me? And please update to latest plugin, I just pushed some pretty big changes
@tjdevries
and for reference https://github.com/kapral18/dotfiles/blob/3b2e742c50c36c4d6d4e284af8bb9b8b90c2b3cd/home/dot_config/exact_nvim/exact_lua/exact_plugins/ai.lua#L105
The error is still happening?
@tjdevries yepp
Can you run
:checkhealth sgfor 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
Does this PR fix your problem? https://github.com/sourcegraph/sg.nvim/pull/221
PR removes the error output, but going to definition still doesn't work
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.
I am also seeing this error with the default sourcegraph url and my health check looks healthy. Happy to give any extra info!