emacs: Autocomplete tweaks
This commit is contained in:
parent
51aa54d32a
commit
4da5d5718f
2 changed files with 30 additions and 3 deletions
|
@ -44,6 +44,17 @@
|
|||
"SPC n" '(flymake-goto-next-error :which-key "Next error")
|
||||
"SPC p" '(flymake-goto-prev-error :which-key "Previous error")
|
||||
)
|
||||
:hook (eglot-managed-mode . chvp--eglot-capf)
|
||||
:config
|
||||
(advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
|
||||
(defun chvp--eglot-capf ()
|
||||
(setq-local completion-at-point-functions
|
||||
(list (cape-super-capf
|
||||
#'eglot-completion-at-point
|
||||
#'tempel-complete)
|
||||
#'cape-file
|
||||
#'dabbrev-capf
|
||||
#'cape-line)))
|
||||
)
|
||||
|
||||
;; Forth syntax support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue