summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-05-07 00:27:08 +0100
committerjao <jao@gnu.org>2021-05-07 00:27:08 +0100
commit9337c77c5df41a6bf00d055f4e2fb89bdf9d8cdf (patch)
treee50f1a28e62e906d529e3348245e8a043dbea75d
parent6f408bfaf9b3e83bdf553365f4c47c61421c9463 (diff)
downloadelibs-9337c77c5df41a6bf00d055f4e2fb89bdf9d8cdf.tar.gz
elibs-9337c77c5df41a6bf00d055f4e2fb89bdf9d8cdf.tar.bz2
no company icons, please
-rw-r--r--completion.org9
1 files 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)