Commit 43f3606c authored by marc0s's avatar marc0s

Disable fci-mode, too buggy

parent f0e9d60a
......@@ -127,16 +127,16 @@ work here..."
:ensure t
:bind ("C-=" . er/expand-region))
(use-package fill-column-indicator
:init
(add-hook 'prog-mode-hook #'turn-on-fci-mode))
(defun on-off-fci-before-company(command)
(when (string= "show" command)
(turn-off-fci-mode))
(when (string= "hide" command)
(turn-on-fci-mode)))
(advice-add 'company-call-frontends :before #'on-off-fci-before-company)
;; (use-package fill-column-indicator
;; :init
;; (add-hook 'prog-mode-hook #'turn-on-fci-mode))
;; (defun on-off-fci-before-company(command)
;; (when (string= "show" command)
;; (turn-off-fci-mode))
;; (when (string= "hide" command)
;; (turn-on-fci-mode)))
;; (advice-add 'company-call-frontends :before #'on-off-fci-before-company)
(use-package flycheck
:ensure t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment