summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-11 05:20:32 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-11 05:20:32 +0200
commitcb9fe72787b6d7bf401be3145a9a4730bca1cd78 (patch)
treee16430b5d85dda4de517861d54ef64789e084122 /.config
parent9ebf0dd0cda6c3472c548d8de2202cc65e6c62fe (diff)
emacs: Limit ‘company’ to ‘conf- and prog-mode’
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/config.org5
1 files changed, 2 insertions, 3 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index 0128e2b..4035919 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -753,11 +753,10 @@ autocompleting code but has other uses too I guess.
#+BEGIN_SRC elisp
(use-package company
+ :hook ((conf-mode prog-mode) . company-mode)
:custom
(company-minimum-prefix-length 1)
- (company-idle-delay 0.0)
- :init
- (global-company-mode))
+ (company-idle-delay 0.0))
#+END_SRC