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
For me, the changes from bf2b90f break auto completion in all modes that support Emmet.
On receiving a textDocument/completion request, Vue Language Server will eventually call require("vscode-emmet-helper").doComplete which in turn will try to access the property showExpandedAbbreviation of the passed-in Emmet configuration. For me, config.emmet is undefined, which is why the request fails with the message Request textDocument/completion failed with message: Cannot read property 'showExpandedAbbreviation' of undefined (-32603)
Reproducible Case
send request of type textDocument/completion with following payload:
It looks like the current Neovim/ncm2/LSP solution involves putting a giant default config into your vimrc (ncm2/ncm2#36), but ideally the LSP itself would provide sensible defaults.
Info
vue-language-server
version: 0.0.33Problem
For me, the changes from bf2b90f break auto completion in all modes that support Emmet.
On receiving a
textDocument/completion
request, Vue Language Server will eventually callrequire("vscode-emmet-helper").doComplete
which in turn will try to access the propertyshowExpandedAbbreviation
of the passed-in Emmet configuration. For me,config.emmet
isundefined
, which is why the request fails with the messageRequest textDocument/completion failed with message: Cannot read property 'showExpandedAbbreviation' of undefined (-32603)
Reproducible Case
textDocument/completion
with following payload:where
Test.vue
has the following contents:Request textDocument/completion failed with message: Cannot read property 'showExpandedAbbreviation' of undefined (-32603)
The text was updated successfully, but these errors were encountered: