csharp.nvim icon indicating copy to clipboard operation
csharp.nvim copied to clipboard

Go To Definition not working properly

Open Dynge opened this issue 9 months ago • 0 comments

Hi

I am having issues with the Go To Definition function. It works just fine for the local codebase - however when trying to open classes from other packages I get an index out of range error:

Error executing vim.schedule lua callback: /usr/share/nvim/runtime/lua/vim/lsp/util.lua:1914: index out of range
stack traceback:
        [C]: in function '_str_byteindex_enc'
        /usr/share/nvim/runtime/lua/vim/lsp/util.lua:1914: in function 'locations_to_items'
        /usr/share/nvim/runtime/lua/vim/lsp/handlers.lua:435: in function 'handler'
        /usr/share/nvim/runtime/lua/vim/lsp/client.lua:685: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Do you have any idea what this may be caused by?

Using:

NVIM v0.10.0-dev

omnisharp v1.39.11 (installed via Mason)

Dynge avatar May 10 '24 08:05 Dynge