From 0039022c6ea20cf577702420db073aa86b0c01b8 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 20 Mar 2019 15:32:38 +0000 Subject: [PATCH] Disable company-mode when editing markdown `company-mode' can be pretty noisy in some modes. In fact, I'm writing this in `fundamental-mode', which is proving to be equally as noisy as the auto-completion in `markdown-mode'. Stay tuned for an update that disables `company-mode' in fundamental mode. --- configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el index 9ba817d3b..b3ff7dc7f 100644 --- a/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el +++ b/configs/shared/emacs/.emacs.d/wpc/packages/wpc-misc.el @@ -39,6 +39,11 @@ (setq sh-basic-offset 2) (setq sh-indentation 2) +;; disable company mode when editing markdown +;; TODO: move this out of wpc-misc.el and into a later file to call +;; `(disable company-mode)' +(add-hook 'markdown-mode-hook (company-mode -1)) + ;; create file bookmarks (set-register ?e '(file . "~/.emacs.d/wpc/packages")) (set-register ?n '(file . "~/programming/nixify/configuration.nix"))