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

Modify completion-at-point-functions locally and don't override. #665

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

toniz4
Copy link

@toniz4 toniz4 commented Jul 11, 2023

This simple modification only changes completion-at-point-functions locally, and it adds #'lispy-clojure-complete-at-point to it, instead of overiding the var.

Since it's only evaluated after cider-mode, we can count that cider-complete-at-point is already in the capf.

And adding the lispy function in that way, it makes it play better with other packages that locally binds completion-at-point-functions, like eglot.

The same idea is used by CIDER

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

Successfully merging this pull request may close these issues.

None yet

1 participant