-
Notifications
You must be signed in to change notification settings - Fork 260
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
Completion for use-package macro (e.g., within :custom) #1077
Comments
I also would like to have improved completion candidates for use-package. I actually switched away from using use-package primarily for this reason. IMHO, calling the underlying functions and macros (e.g. I guess a lot of the issue is use-package's extensive use of unquoted lists. But still, even if the lists in |
Since when, I think Emacs assumes that the (use-package comint
:custom
(comint-buffer-maximum-size 20000 “Increase comint buffer size.”)
(comint-prompt-read-only t “Make the prompt read only.”)) (use-package comint
:custom
(a comint-buffer-maximum-size 20000 “Increase comint buffer size.”))
(comint-prompt-read-only t “Make the prompt read only.”))) Change it this way, and for |
The default capf used in elisp-mode, This is not a complete solution, but I am working around the issue by setting Here is a part of my init.el and screenshot: (defun my/elisp-mode-init ()
"Set completion function to cape"
(setq-local completion-at-point-functions
(list (cape-capf-inside-code #'cape-elisp-symbol))))
(add-hook 'emacs-lisp-mode-hook #'my/elisp-mode-init) |
I would like to have completion-at-point for use-package. In particular, it would be great if there was a way to let emacs know that inside
:custom
, it should expect variables, not functions, even though point might look as if it was in a funcall position. If not easily fixable, could someone guide me in the correct direction to work on this?#277 apparently tried to do something like this, but it didn't seem to lead anywhere.
The text was updated successfully, but these errors were encountered: