Add workaround for dabbrev backend completions

This commit is contained in:
Adam Kruszewski 2023-08-14 17:36:28 +02:00
parent 41ef82c270
commit 265438b161

View file

@ -351,7 +351,9 @@ the end of word."
;; to have templates expanded as well. ;; to have templates expanded as well.
(corfu-insert) (corfu-insert)
(completion-at-point) (completion-at-point)
(corfu-complete) ;; TODO: Not sure why it sometimes breaks with dabbrev backend. Need to investigate.
(ignore-errors
(corfu-complete))
(corfu-quit)))) (corfu-quit))))
;;;###autoload ;;;###autoload