Skip to content
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

neovim with nvim-cmp completions not working #1163

Closed
KunaPrime opened this issue Feb 1, 2024 · 5 comments
Closed

neovim with nvim-cmp completions not working #1163

KunaPrime opened this issue Feb 1, 2024 · 5 comments

Comments

@KunaPrime
Copy link

using neovim and https://github.com/hrsh7th/nvim-cmp server is started found and attached but there is no auto completion
suggestions for and files in elm project

Expected Behavior

completion suggestions should be usable and found

Current Behavior

no completion suggestions

Your Environment

elm-language-server: 2.5.2
node: v20.10.0
nvim: v0.10.0-dev+1974-g714b07519

@razzeee
Copy link
Member

razzeee commented Feb 1, 2024

you'll need to post logs

@KunaPrime
Copy link
Author

i was able to find this via LspLog:

[START][2024-02-01 17:39:10] LSP logging initiated
[ERROR][2024-02-01 17:39:10] ...lsp/handlers.lua:562	"Unhandled Rejection at: Promise [object Promise] reason:, TypeError: Failed to parse URL from /usr/local/lib/node_modules/@elm-tooling/elm-language-server/node_modules/web-tree-sitter/tree-sitter.wasm"

@KunaPrime
Copy link
Author

if there are other logs that i can look for please direct me where to look.
Thank you

@hingew
Copy link

hingew commented Feb 22, 2024

Hey, you should update the language-server to the latest version.

@KunaPrime
Copy link
Author

@hingew that's the solution. Thanks!!

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

No branches or pull requests

3 participants