Skip to content

Conversation

@rossmeier
Copy link
Contributor

4f20cbd introduced a regression that causes
completion_item_to_lsp_item to fail for a formal as insert_text is no longer set now. The new implementation for the conversion function is robust and uses insert_text when available and falls back to the item's label (as an LSP client would).

It would be ideal to have a regression test for this but as the tests are set up now, it seems like a VHDLServer object to call completion_item_to_lsp_item on isn't easily available. But as this was the only unwrap() in the function, I'm carefully optimistic ;-)

4f20cbd introduced a regression that causes
`completion_item_to_lsp_item` to fail for a formal as insert_text is no
longer set now. The new implementation for the conversion function is
robust and uses insert_text when available and falls back to the item's
label (as an LSP client would)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant