diff options
author | Franck Cuny <fcuny@twitter.com> | 2018-10-06 11:21:49 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2018-10-06 11:21:49 -0700 |
commit | 5bbfa8811fde04d5423da7e2a52ad1fb757b3d98 (patch) | |
tree | 063152dd2e00c03318ba04d0a423dbd8b210568b | |
parent | [emacs] empty scratch buffer (diff) | |
download | emacs.d-5bbfa8811fde04d5423da7e2a52ad1fb757b3d98.tar.gz |
[emacs] add company-mode
This will require more configuration later.
-rw-r--r-- | configs/rcs/emacs.d/init.el | 9 |
1 files changed, 9 insertions, 0 deletions
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) |