-
Notifications
You must be signed in to change notification settings - Fork 78
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
OCaml keywords are not suggested #183
Comments
I've noticed this too. However, I believe this should be handled by https://github.com/ocaml/ocaml-lsp as the language server protocol allows keywords in completion entries. That way, keyword completion will be present in other editors that use ocaml-lsp too. |
@yannl35133 try pinning ocamllsp. I've added experimental support for keyword completion. |
I find this annoying too, happens every single time I type @rgrinberg Can you be a little more specific with your instructions there? |
@ian-barnes The new ocaml-lsp v1.2.0 is published already with keyword completion. You can pin ocaml-lsp package by doing |
Cool, thanks! Yes, the ... and same with pinning to master. That's weird. Does 1.2.0 depend on Ocaml 4.11 or something? But it works anyway, so who cares? |
It does not. If there are installation problems with ocamllsp, please ask on discuss. 1.2.0 was merged to opam quite recently so you might need to do |
I suggest OCaml keywords be included in suggestions.
This is mostly an issue when you type
in
and hit Return, as most of the time another value beginning byin
will be inserted instead, and this is annoyingThe text was updated successfully, but these errors were encountered: