-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Clojure w/ LSP & Cider does not autocomplete in source buffers #7381
Comments
I had the same problem, but it turned out I was using an old version of clojure-lsp. Upgrading the clojure-lsp and ensuring that |
@mjmeintjes if you don't mind me asking, do you recall the versions before and after? I have the same issue, but I'm currently on the most recent |
I'm
I'm currently using the following versions:
They seem to work ok. Not sure what version I was using previously, but it was a couple of years old. Note that I had the latest version installed, but my |
I put this in the original post but will re add here that it does seem like +lsp in my init.el does seem to interfere with cider mode so when I removed that everything started working. If the version upgrade doesn't work for you I suggest giving that a try. |
Spacemacs user here. Thanks to this thread I found the following observing similar issues I either:
Just upgraded the following from 2023 versions, no difference.
|
I confirm that...
I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.
I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.
The issue can be reproduced on the latest available commit of Doom.
The issue can be reproduced on a stable release of Emacs, such as 27 or 28. (Doom does not support development builds like 29+ or any version ending in .50 or .9x)
Expected behavior
When I type a symbol in my source buffer, a dropdown menu should display completion options as I type.
Current behavior
When I type in the nrepl buffer I can see completion options in a dropdown. When my TAB is set to use
company-indent-or-complete-common
I can see completion options in my minibuffer after hitting tab.When I type in a source buffer, I see no completion options at any point even if setting my TAB to use the
company-indent-or-complete-common
function. The message I see is "No Completion" even when I know one exists.When enabling
nrepl-toggle-message-logging
, I see that when I'm typing in the repl. I get these messages:However, when I type in a source buffer, I never see these
complete
ops and only seeeldoc
ops.No backtrace is available because there are no error messages.
No concerning output in
*Messages*
.After reading through some additional online posts today, I did see that folks were saying that lsp mode loads some stuff that overrides the cider-mode completion so I went ahead and removed the +lsp from my init.el and re-sync'ed my doom and that did solve the issue.
Steps to reproduce
System Information
https://pastebin.com/3ecvdGmx
The text was updated successfully, but these errors were encountered: