aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/init-company.el
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-13 01:12:32 +0800
committerGuangxiong Lin <[email protected]>2022-03-13 01:12:32 +0800
commit36081c6ca6b25fd9c49c259d91ada5180d78a580 (patch)
treec7778697e0d3aa76f28a4c24404018953afc27eb /.emacs.d/lisp/init-company.el
parent38ab771977e6511d02df06cb908824707d728303 (diff)
downloaddotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.tar.gz
dotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.tar.bz2
dotfiles-36081c6ca6b25fd9c49c259d91ada5180d78a580.zip
Drop use-package at all (emacs)
Diffstat (limited to '.emacs.d/lisp/init-company.el')
-rw-r--r--.emacs.d/lisp/init-company.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-company.el b/.emacs.d/lisp/init-company.el
index c096e86..6fc8cbc 100644
--- a/.emacs.d/lisp/init-company.el
+++ b/.emacs.d/lisp/init-company.el
@@ -1,6 +1,5 @@
-(use-package company :ensure t :defer t)
-
-(add-hook 'after-init-hook 'global-company-mode)
+(when (gx/maybe-require-package 'company)
+ (add-hook 'after-init-hook 'global-company-mode))
(setq company-global-modes
'(emacs-lisp-mode go-mode ledger-mode sh-mode c++-mode))