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.
This commit is contained in:
William Carroll 2019-03-20 15:32:38 +00:00
parent 80dc1fdb50
commit 0039022c6e

View file

@ -39,6 +39,11 @@
(setq sh-basic-offset 2) (setq sh-basic-offset 2)
(setq sh-indentation 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 ;; create file bookmarks
(set-register ?e '(file . "~/.emacs.d/wpc/packages")) (set-register ?e '(file . "~/.emacs.d/wpc/packages"))
(set-register ?n '(file . "~/programming/nixify/configuration.nix")) (set-register ?n '(file . "~/programming/nixify/configuration.nix"))