fix latex dabbrev completion, enable corfu globally

This commit is contained in:
2026-11-11 22:09:04 +01:00
parent 2912d3842a
commit 4ccc82f632
4 changed files with 36 additions and 2 deletions

View File

@@ -272,7 +272,13 @@ a remote file anytime and from everywhere I am by just entering :"
;; clever and nice looking and feeling completion package, candidates
;; show up in a mini popup, very nice
(use-package corfu
:hook ((prog-mode . corfu-mode))
:init
(global-corfu-mode)
;; :hook ((prog-mode . corfu-mode)
;; (plain-tex-mode . corfu-mode)
;; (tex-mode . corfu-mode)
;; (latex-mode . corfu-mode))
:custom
(corfu-quit-no-match t)
@@ -285,7 +291,7 @@ a remote file anytime and from everywhere I am by just entering :"
("TAB" . corfu-next)
([tab] . corfu-next)
("S-TAB" . corfu-previous)
([backtab] . corfu-previous)))
([backtab] . corfu-next)))
;; much better experience to seach current buffer, consult-line would