diff options
author | Alan Pearce | 2019-12-03 13:37:56 +0100 |
---|---|---|
committer | Alan Pearce | 2019-12-03 13:37:56 +0100 |
commit | 263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772 (patch) | |
tree | adfefd69d245436f02196176dbfdd4de9a56219d | |
parent | dc624c85c0a2531b31b2049f67040c3e3086a326 (diff) | |
download | nixfiles-263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772.tar.lz nixfiles-263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772.tar.zst nixfiles-263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772.zip |
Emacs: fix company-mode initialisation
-rw-r--r-- | user/emacs/.emacs.d/init.el | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index f9f4b0a4..a01be536 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -428,15 +428,16 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package company :defer 2 :commands (company-explicit-action-p) - :config (setq global-company-mode +1 - company-idle-delay 0 - company-tooltip-align-annotations t - company-show-numbers t - company-dabbrev-downcase nil - company-dabbrev-ignore-case nil - company-begin-commands '(self-insert-command) - company-auto-complete #'company-explicit-action-p - company-auto-complete-chars '(?\ ?\( ?\) ?.)) + :config (progn + (setq company-idle-delay 0 + company-tooltip-align-annotations t + company-show-numbers t + company-dabbrev-downcase nil + company-dabbrev-ignore-case nil + company-begin-commands '(self-insert-command) + company-auto-complete #'company-explicit-action-p + company-auto-complete-chars '(?\ ?\( ?\) ?.)) + (global-company-mode +1)) :general (:states 'insert "TAB" #'company-indent-or-complete-common)) |