aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index e50379e..772baf9 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -74,7 +74,8 @@
([remap completion-at-point] . #'company-complete))
:config
(setq company-tooltip-align-annotations t)
- :hook (company-mode . yas-minor-mode))
+ :hook ((company-mode . yas-minor-mode)
+ (prog-mode . company-mode)))
(use-package company-math
:config