aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-20 00:51:05 +0800
committerGuangxiong Lin <[email protected]>2022-03-20 00:51:05 +0800
commit1008c86a0ef38b9ee79ec14d2cc7993303d959e0 (patch)
treec9e5a13c97bcc0b0f8b175d1a4d454d2a2304111
parent80ca62d0a0ccb4cda6fcd43429e79433d030f62c (diff)
downloaddotfiles-1008c86a0ef38b9ee79ec14d2cc7993303d959e0.tar.gz
dotfiles-1008c86a0ef38b9ee79ec14d2cc7993303d959e0.tar.bz2
dotfiles-1008c86a0ef38b9ee79ec14d2cc7993303d959e0.zip
Use corfu in ledger mode (emacs)
-rw-r--r--.emacs.d/lisp/init-corfu.el1
1 files changed, 1 insertions, 0 deletions
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