-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Using vertico with lsp-mode #127
Comments
See consult-completion-in-region for completion at point and consult-lsp for additional integration, comparable to helm/ivy-lsp. For completion at point you may also consider Corfu or Company as alternatives to consult-completion-in-region. I hope this helps. |
Thank you very much for your prompt reply. This solution is great, I will use consult-lsp [1] for the workspace-wide queries, it seems to work quite well. I've also setup completion at point as per the instructions in the main page, I'll try and see how I get on with it. Copy and paste from the main page [2], for anyone finding this ticket:
;; Use `consult-completion-in-region' if Vertico is enabled.
;; Otherwise use the default `completion--in-region' function.
(setq completion-in-region-function
(lambda (&rest args)
(apply (if vertico-mode
#'consult-completion-in-region
#'completion--in-region)
args)))
[1] https://github.com/gagbo/consult-lsp |
Hi vertico developers,
thanks very much for an incredibly useful mode. I am very new at it to be honest, having recently moved from helm. Which brings me to my question: I use helm with lsp mode a fair bit, but I could not find any obvious extensions for vertico. Is this because no one has created them yet, or is there a more idiomatic way of integrating vertico with lsp mode which does not require extensions?
Many thanks for all your work.
Cheers
Marco
The text was updated successfully, but these errors were encountered: