-
Notifications
You must be signed in to change notification settings - Fork 8
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
"index out of range" when trying to go to definition of external libraries #13
Comments
Same issue in Neovim 10.1 |
Ok. I will try to fix it this time.. |
Emm. seems you jump from telescope.. now I have not made the plugin for telecope yet.. |
I have add support for telescope now, but a very basic one, I think I have solved it |
Same issue in Neovim 10.1 & csharpls-extended-lsp.nvim (commit c367733) |
I mean with the telescope extension command . I have add an telescope extension for this project, try use that to go to definition |
I tried telescope but I get the same error. |
No, the command is |
I am sorry.
|
Emm, if you use the plugin of mime, the error won't throw from the _lsp.lua of telescope I think. Can you show me the picture? |
I see, what kind of error? and can you provide me some snippets? |
I can't show you the problematic code because it is for work. So I tried to create a minimal reproduction code, but it did not work. For reference, here is a screenshot of the debugger when the problem occurred The lnum and col of the fetched variable are different from the actual code definition. |
the encoding is from neovim.. I think it error because that file is a windows file? which contains update: utf16 works fine when jump to System.Console.. Emm |
Emm,, neovim/neovim#19237 (comment) Seems it is the issue of neovim |
@Decodetalkers Thank you for your cooperation.
The following screenshot shows the debugger when jumping to the same method Normal (no use decompiler, definition jumps in the library source):
If so, does that mean there is a problem with the decompiled code? |
seems that get_lines get "", and it should panic during getting line[row]... Why there is no data in line? maybe problem is this line: here I should get the data and write it into the buf, I think maybe the buf is not created? or the data is empty? can step to this function and see it for me? thanks |
I'm using LazyVim. I installed the plugin like this:
The plugin works in general, however, when I try to go to definition of any built-in .NET type (like
IReadOnlyCollection
) or just any type from nugets, I get an error:Any idea what might be the reason?
Is there any minimal example of neovim config with this plugin enabled? The README instructions are a bit unclear, and they refer (by mistake?) to omnisharp.
The text was updated successfully, but these errors were encountered: