aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-company.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-19 22:59:58 +0800
committerGuangxiong Lin <[email protected]>2022-04-19 22:59:58 +0800
commit86a5b55e66648f79a835e3ebd295483359b9a4a8 (patch)
tree28c51084c92b2b685f4d2034f7f8167daeb7adb0 /.emacs.d/lisp/init-company.el
parent8157478f9ccaef0dd823ac8ad1bf431bd86d9a71 (diff)
downloaddotfiles-86a5b55e66648f79a835e3ebd295483359b9a4a8.tar.gz
dotfiles-86a5b55e66648f79a835e3ebd295483359b9a4a8.tar.bz2
dotfiles-86a5b55e66648f79a835e3ebd295483359b9a4a8.zip
Add hook to after-init-hook by order
I cannot use emacs without evil-mode ... Load it first to avoid any issue occurs during initialization.
Diffstat (limited to '.emacs.d/lisp/init-company.el')
-rw-r--r--.emacs.d/lisp/init-company.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-company.el b/.emacs.d/lisp/init-company.el
index 1f7a097..863e66e 100644
--- a/.emacs.d/lisp/init-company.el
+++ b/.emacs.d/lisp/init-company.el
@@ -1,6 +1,6 @@
(when (gx/maybe-require-package 'company)
(when (not (display-graphic-p))
- (add-hook 'after-init-hook 'global-company-mode)))
+ (add-hook 'after-init-hook 'global-company-mode 'append)))
(with-eval-after-load 'company
(company-tng-configure-default)