-
-
Notifications
You must be signed in to change notification settings - Fork 645
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
Sideeffect checking cider--xref-backend
#3170
Comments
Looks like the Lines 233 to 238 in 1e27eba
|
Yes, here exactly: Line 166 in 65a23e5
|
PR welcome adding extra arguments and/or wrapped functions here and there, wdyt? It would be particularly appreciated from that the implicit QAing (I don't use xref for instance, so can't QA this atm) |
ericdallo
added a commit
to ericdallo/cider
that referenced
this issue
Mar 24, 2022
ericdallo
added a commit
to ericdallo/cider
that referenced
this issue
Mar 24, 2022
ericdallo
added a commit
to ericdallo/cider
that referenced
this issue
Mar 24, 2022
6 tasks
ericdallo
added a commit
to ericdallo/cider
that referenced
this issue
Mar 24, 2022
vemv
pushed a commit
that referenced
this issue
Mar 24, 2022
hlissner
added a commit
to doomemacs/doomemacs
that referenced
this issue
Mar 30, 2022
To ensure lsp/eglot settings have precedence over local servers (e.g. cider and lookup handlers). Ref: clojure-emacs/cider#3170
hlissner
added a commit
to doomemacs/doomemacs
that referenced
this issue
Mar 30, 2022
Sneaksolid
pushed a commit
to Sneaksolid/doom-emacs
that referenced
this issue
Apr 13, 2022
To ensure lsp/eglot settings have precedence over local servers (e.g. cider and lookup handlers). Ref: clojure-emacs/cider#3170
Sneaksolid
pushed a commit
to Sneaksolid/doom-emacs
that referenced
this issue
Apr 13, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When doom runs
(xref-find-backend)
to find current xref backend, cider gives a error:No linked CIDER sessions
. xref backend functions should not have side-effects like that, this is making doom's code not be able to check for other backends like lsp making users need to jack in repl to use doom's lsp find-definition for example even if not using cider find definition.Expected behavior
(cider--xref-backend)
not throw any side effects like checking if repl is available.Actual behavior
(cider--xref-backend)
checks if repl is available, throwing a error message if not.Steps to reproduce the problem
M-x (cider--xref-backend)
with a repl not enabled in a project.Environment & Version information
CIDER version information
Emacs version
28.0.91
Operating system
NixOS
The text was updated successfully, but these errors were encountered: