|
@ -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 |
|
|