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

lazyvim ocamllsp install, error -32603 #1236

Open
AlphaDragon601 opened this issue Mar 28, 2024 · 1 comment
Open

lazyvim ocamllsp install, error -32603 #1236

AlphaDragon601 opened this issue Mar 28, 2024 · 1 comment

Comments

@AlphaDragon601
Copy link

I've attempted to switch to neovim using lazy while trying out ocaml. Lazy uses mason to install lsps and lspconfig to use them. I've managed to get things installed enough that the lsp runs automatically if I open a project file, syntax highlighting works, and autocomplete works. However if I try to run code actions I receive a message saying there are none. Manually running with commands like "lua vim.lsp.buf.definition()" lead to an error 32603 dune binary not found. What steps are left for me to get this working? Dune is installed and builds things just fine, running it in watch mode doesn't seem to make a difference either. Thanks for any advice you can give!

@ashton
Copy link

ashton commented Apr 26, 2024

@AlphaDragon601 this happened to me also, it took me a while to understand that the project that I was open in nvim, was using a switch, and I didn't had dune installed in that switch, so after running opam install . it worked for me.

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

2 participants