summary refs log tree commit diff
path: root/emacs.d/config/fcuny-company.el
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2018-06-29 14:49:44 -0700
committerFranck Cuny <franck.cuny@gmail.com>2018-06-29 14:50:43 -0700
commitc0368d8e65fd15a1f48de6a01adcb8ec786a72a0 (patch)
treec1dc339235ff11476bec01c36b57bd158314fa6a /emacs.d/config/fcuny-company.el
parent[emacs] Move back some configs to init.el (diff)
downloademacs.d-c0368d8e65fd15a1f48de6a01adcb8ec786a72a0.tar.gz
[emacs] Massive rewrite
Diffstat (limited to '')
-rw-r--r--emacs.d/config/fcuny-company.el (renamed from emacs.d/modules/module-autocomplete.el)17
1 files changed, 5 insertions, 12 deletions
diff --git a/emacs.d/modules/module-autocomplete.el b/emacs.d/config/fcuny-company.el
index abbf162..62e06de 100644
--- a/emacs.d/modules/module-autocomplete.el
+++ b/emacs.d/config/fcuny-company.el
@@ -1,5 +1,8 @@
+(eval-when-compile
+  (require 'use-package))
+
 (use-package company
-  :commands company-mode
+  :ensure t
   :diminish company-mode
   :config
   (global-company-mode)
@@ -11,14 +14,4 @@
         company-tooltip-align-annotations t
         company-require-match nil))
 
-(use-package lsp-mode
-  :config
-  (setq lsp-response-timeout 10))
-
-(use-package lsp-ui
-  :init
-  (add-hook 'lsp-mode-hook 'lsp-ui-mode))
-
-(use-package company-lsp)
-
-(provide 'module-autocomplete)
+(provide 'fcuny-company)