about summary refs log tree commit diff
path: root/users/tazjin/emacs/config
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-07-14T14·24+0300
committerclbot <clbot@tvl.fyi>2023-07-14T14·27+0000
commit80fe7ff7da144bee1c92e1cc63f5bf0d1a45e777 (patch)
tree9469d7074fa55801b7d43548f006717fcd30c942 /users/tazjin/emacs/config
parentc266f5133fb8da2d5f4ed0321675b06cc41755c0 (diff)
feat(tazjin/emacs): always run company-mode in telega-chat-mode r/6426
It does the emoji completion, very important!

Change-Id: I1160e2cf0415b2a4e2b6ebc194cd643a2b18793e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8966
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/emacs/config')
-rw-r--r--users/tazjin/emacs/config/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/tazjin/emacs/config/init.el b/users/tazjin/emacs/config/init.el
index 3e9426510131..3f772ff37150 100644
--- a/users/tazjin/emacs/config/init.el
+++ b/users/tazjin/emacs/config/init.el
@@ -228,7 +228,8 @@
 (use-package telega
   :bind (:map global-map ("s-t" . telega))
   :config (telega-mode-line-mode 1)
-  :custom (telega-emoji-use-images nil))
+  :custom (telega-emoji-use-images nil)
+  :hook (telega-chat-mode . company-mode))
 
 (use-package terraform-mode)
 (use-package toml-mode)