aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-misc.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-25 22:00:46 +0800
committerGuangxiong Lin <[email protected]>2022-02-25 22:00:46 +0800
commit8385c1b5f17a926ba3b1b3b0e3f3efcdd78a36dd (patch)
treea15cad46aa3966423c17dda7f1ca97cfabf936d5 /.emacs.d/lisp/init-misc.el
parentda069cf91b08d1a76a005f0ad89159430c1b5f92 (diff)
downloaddotfiles-8385c1b5f17a926ba3b1b3b0e3f3efcdd78a36dd.tar.gz
dotfiles-8385c1b5f17a926ba3b1b3b0e3f3efcdd78a36dd.tar.bz2
dotfiles-8385c1b5f17a926ba3b1b3b0e3f3efcdd78a36dd.zip
Add company-mode for c++-mode (emacs)
Diffstat (limited to '.emacs.d/lisp/init-misc.el')
-rw-r--r--.emacs.d/lisp/init-misc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-misc.el b/.emacs.d/lisp/init-misc.el
index b69d8b4..9abd46a 100644
--- a/.emacs.d/lisp/init-misc.el
+++ b/.emacs.d/lisp/init-misc.el
@@ -72,7 +72,7 @@
(use-package company
:init
(setq company-global-modes
- '(emacs-lisp-mode go-mode ledger-mode sh-mode))
+ '(emacs-lisp-mode go-mode ledger-mode sh-mode c++-mode))
:hook ((after-init . global-company-mode))
:config
(setq company-minimum-prefix-length 1))