From 9337c77c5df41a6bf00d055f4e2fb89bdf9d8cdf Mon Sep 17 00:00:00 2001 From: jao Date: Fri, 7 May 2021 00:27:08 +0100 Subject: no company icons, please --- completion.org | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/completion.org b/completion.org index 7a88913..2da8be5 100644 --- a/completion.org +++ b/completion.org @@ -27,8 +27,9 @@ company-files company-dabbrev company-keywords)) - ;; (company-global-modes '(clojure-mode)) - ;; (company-global-modes t) + (company-global-modes '(not slack-message-buffer-mode + circe-channel-mode)) + (company-format-margin-function nil) ;; #'company-text-icons-margin (company-idle-delay 0.2) (company-lighter "") (company-lighter-base "") @@ -42,7 +43,9 @@ (defun jao-complete-at-point () "Complete using company unless we're in the minibuffer." (interactive) - (if (window-minibuffer-p) (completion-at-point) (company-manual-begin))) + (if (or (not company-mode) (window-minibuffer-p)) + (completion-at-point) + (company-manual-begin))) (defun jao-company-use-in-tab () (global-set-key [remap completion-at-point] #'jao-complete-at-point) -- cgit v1.2.3