all repos — nixfiles @ 263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772

System and user configuration, managed by nix and home-manager

Emacs: fix company-mode initialisation

Alan Pearce
commit

263e6e5c2a06cbb9e7eabdb5b0644ab8e099f772

parent

dc624c85c0a2531b31b2049f67040c3e3086a326

1 file changed, 10 insertions(+), 9 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -428,15 +428,16 @@
(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))