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 having an issue that I seem to have boiled down to when I select a completion candidate with cmp.mapping.select_next_item(). The LSP Server crashes when I do this (or select_prev_item() for that matter). Everything seems fine when I do just cmp.mapping.confirm{select = true}.
The LSP server crashes. I reported this originally over on the vhdl_ls repo, but they weren't able to reproduce in VSCode (neither was I). It doesn't always happen, I found a case where it doesn't happen, however given it doesn't happen at all in VSCode, I am not sure if it's the server or client (I'm including nvim-cmp in "the client").
Additional context
Example VHDL file to use. After the end process q_proc; line, if you do o_| where | is the cursor, and then hit <Tab> to select the next completion candidate, the LSP should crash.
Please see my various comments in the other issue for logs during this process (which were captured not using the minimal config, FYI).
I have the same issue. Strangely enough when I scroll through the auto complete list with the arrow keys, the LSP does not crash. With cmp.mapping.select_next_item() it crashes.
FAQ
Announcement
Minimal reproducible full config
Description
I am having an issue that I seem to have boiled down to when I select a completion candidate with
cmp.mapping.select_next_item()
. The LSP Server crashes when I do this (orselect_prev_item()
for that matter). Everything seems fine when I do justcmp.mapping.confirm{select = true}
.VHDL-LS/rust_hdl#300
Steps to reproduce
vhdl_ls
installed with versionv0.80
Expected behavior
It should just select the candidate as normal
Actual behavior
The LSP server crashes. I reported this originally over on the
vhdl_ls
repo, but they weren't able to reproduce in VSCode (neither was I). It doesn't always happen, I found a case where it doesn't happen, however given it doesn't happen at all in VSCode, I am not sure if it's the server or client (I'm includingnvim-cmp
in "the client").Additional context
Example VHDL file to use. After the
end process q_proc;
line, if you doo_|
where|
is the cursor, and then hit<Tab>
to select the next completion candidate, the LSP should crash.Please see my various comments in the other issue for logs during this process (which were captured not using the minimal config, FYI).
The text was updated successfully, but these errors were encountered: