From 5bbfa8811fde04d5423da7e2a52ad1fb757b3d98 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 6 Oct 2018 11:21:49 -0700 Subject: [emacs] add company-mode This will require more configuration later. --- configs/rcs/emacs.d/init.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'configs/rcs/emacs.d') diff --git a/configs/rcs/emacs.d/init.el b/configs/rcs/emacs.d/init.el index 48f5f6a..f7ed8eb 100644 --- a/configs/rcs/emacs.d/init.el +++ b/configs/rcs/emacs.d/init.el @@ -303,6 +303,15 @@ ;;; prog mode +(use-package company + :commands company-mode fcuny/company + :bind (("C-/" . company-complete)) + :config + (setq company-idle-delay .25) + (global-company-mode) + :init + (add-hook 'prog-mode-hook (lambda () (company-mode t)))) + (use-package flycheck :custom (flycheck-idle-change-delay 2) -- cgit 1.4.1