Browse Source

cape fixes

master
Marc 1 week ago
parent
commit
2bd76d7c74
1 changed files with 10 additions and 8 deletions
  1. 18
      config.org

18
config.org

@ -829,16 +829,18 @@ dabbrev, file, history, keyword, tex, sgml, rfc1345, abbrev, ispell, dict, symbo
(use-package cape (use-package cape
:ensure t :ensure t
:bind :bind
(("C-c p p" . completion-at-point) ;; capf
("C-c p t" . complete-tag) ;; etags
("C-c p d" . cape-dabbrev)
("C-c p h" . cape-history)
("C-c p f" . cape-file))
("C-c p" . cape-prefix-map)
;; (("C-c p p" . completion-at-point) ;; capf
;; ("C-c p t" . complete-tag) ;; etags
;; ("C-c p d" . cape-dabbrev)
;; ("C-c p h" . cape-history)
;; ("C-c p f" . cape-file))
:init :init
(advice-add #'lsp-completion-at-point :around #'cape-wrap-noninterruptible) ;; for performance issues with lsp (advice-add #'lsp-completion-at-point :around #'cape-wrap-noninterruptible) ;; for performance issues with lsp
(add-to-list 'completion-at-point-functions #'cape-dabbrev)
(add-to-list 'completion-at-point-functions #'cape-file)
(add-to-list 'completion-at-point-functions #'cape-history))
(add-hook 'completion-at-point-functions #'cape-dabbrev)
(add-hook 'completion-at-point-functions #'cape-file)
(add-hook 'completion-at-point-functions #'cape-elisp-block)
(add-hook 'completion-at-point-functions #'cape-history))
#+end_src #+end_src
* kind-icon * kind-icon

Loading…
Cancel
Save