From 1008c86a0ef38b9ee79ec14d2cc7993303d959e0 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 20 Mar 2022 00:51:05 +0800 Subject: Use corfu in ledger mode (emacs) --- .emacs.d/lisp/init-corfu.el | 1 + 1 file changed, 1 insertion(+) (limited to '.emacs.d/lisp/init-corfu.el') diff --git a/.emacs.d/lisp/init-corfu.el b/.emacs.d/lisp/init-corfu.el index fb92857..b72125c 100644 --- a/.emacs.d/lisp/init-corfu.el +++ b/.emacs.d/lisp/init-corfu.el @@ -3,6 +3,7 @@ (when (gx/maybe-require-package 'corfu) (autoload 'corfu-mode "corfu") (when (display-graphic-p) + (add-hook 'ledger-mode-hook #'corfu-mode) (add-hook 'prog-mode-hook #'corfu-mode))) (setq corfu-cycle t -- cgit v1.2.3