summary refs log tree commit diff
path: root/emacs.d/core/core-autocompletion.el
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-02-12 20:58:37 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-02-12 20:58:37 -0800
commit5f2b301a8df5410962519d2b7e9a977b03e75977 (patch)
treeda73920a1109c0820cdf3a3e2902087c95f3b3a7 /emacs.d/core/core-autocompletion.el
parent[emacs] Move some packages to a new config file. (diff)
downloademacs.d-5f2b301a8df5410962519d2b7e9a977b03e75977.tar.gz
[emacs] Split the config into 'core' and 'modes'.
Separate the modules that are 'core' (e.g.: related to editing,
manipulating text, and so on) and the 'modes' (e.g.: related to syntax,
langage support, etc).
Diffstat (limited to 'emacs.d/core/core-autocompletion.el')
-rw-r--r--emacs.d/core/core-autocompletion.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/core/core-autocompletion.el b/emacs.d/core/core-autocompletion.el
new file mode 100644
index 0000000..724ccf3
--- /dev/null
+++ b/emacs.d/core/core-autocompletion.el
@@ -0,0 +1,7 @@
+(use-package company
+  :ensure t
+  :config
+  (progn
+    (add-hook 'prog-mode-hook 'company-mode)))
+
+(provide 'core-autocompletion)