You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am on Ubuntu 22.04(WSL2), I have set the env variables SRC_ENDPOINT and SRC_ACCESS_TOKEN.
I got the same error in browser after SourceGraphLogin; however login is successful(I verified with :checkhealth sg) and I can open sourcegraph URLs in neovim with :edit <URL>.
I am still facing issues with code intelligence though.
gr shows sourcegraph: -32700: lsif
K shows sourcegraph: -32700: No corresponding code intelligence
gd shows
Error executing vim.schedule lua callback:
...tvik_/.local/share/nvim/lazy/sg.nvim/lua/sg/lsp/init.lua:19: attempt to index local 'location' (a nil value)
stack traceback:
...tvik_/.local/share/nvim/lazy/sg.nvim/lua/sg/lsp/init.lua:19: in function 'preload_file'
...tvik_/.local/share/nvim/lazy/sg.nvim/lua/sg/lsp/init.lua:81: in function 'handler'
...t/nvim-linux64/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Going through the setup guide in the README, I get this error when I run
:SourcegraphLogin
:At this URL: http://localhost:52068/api/sourcegraph/token?token=XXX.
I am using Firefox and on Arch Linux.
I tried disabling enhanced tracking protection, but still failed. It does create the token successfully.
Is there a place I can add the token manually, or do I need to add it as an env variable?
Please let me know if you need more information.
The text was updated successfully, but these errors were encountered: