From dadc0f8b563c32ff57df7a4ec5bb16387368be9f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Mon, 7 Nov 2022 09:57:15 +0800 Subject: Update emacs config --- .emacs.d/.gitignore | 2 ++ .emacs.d/lisp/init-company.el | 1 + 2 files changed, 3 insertions(+) (limited to '.emacs.d') diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore index 479677f..52517f8 100644 --- a/.emacs.d/.gitignore +++ b/.emacs.d/.gitignore @@ -19,3 +19,5 @@ history projects eln-cache places + +local diff --git a/.emacs.d/lisp/init-company.el b/.emacs.d/lisp/init-company.el index 06ff700..c1e7414 100644 --- a/.emacs.d/lisp/init-company.el +++ b/.emacs.d/lisp/init-company.el @@ -1,4 +1,5 @@ (when (gx/maybe-require-package 'company) + (add-hook 'org-mode-hook #'gx/company-mode-in-tui) (add-hook 'ledger-mode-hook #'gx/company-mode-in-tui) (add-hook 'prog-mode-hook #'gx/company-mode-in-tui)) -- cgit v1.2.3