mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
@ -174,7 +174,15 @@ See `+corfu-want-minibuffer-completion'."
|
||||
;; Emacs28.
|
||||
(when (< emacs-major-version 29)
|
||||
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-silent)
|
||||
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify)))
|
||||
(advice-add 'pcomplete-completions-at-point :around #'cape-wrap-purify))
|
||||
|
||||
(when (modulep! :lang latex)
|
||||
;; Allow file completion on latex directives.
|
||||
(setq-hook! '(tex-mode-local-vars-hook
|
||||
latex-mode-local-vars-hook
|
||||
LaTeX-mode-local-vars-hook)
|
||||
cape-file-prefix (if (stringp cape-file-prefix)
|
||||
"{" (cons "{" cape-file-prefix)))))
|
||||
|
||||
(use-package! yasnippet-capf
|
||||
:when (modulep! :editor snippets)
|
||||
|
Reference in New Issue
Block a user