From 7c0575dbc19d189b6274950a76e6aef9140475ab Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 17 Jun 2016 20:42:58 +0800 Subject: spacemacs.d/init.el: disable the buggy 'fci-mode' WARNING/XXX: 'fci-mode' has issues with 'truncate-lines' and 'company-mode': * 'fci-mode' will override 'truncate-lines' to 't' * with 'fci-mode' enabled and 'truncate-lines' set to 'nil', when the completion triggered, the 'truncate-lines' will be overridden to 't', which is very annoying. --- _spacemacs.d/init.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/_spacemacs.d/init.el b/_spacemacs.d/init.el index 149734e..168a146 100644 --- a/_spacemacs.d/init.el +++ b/_spacemacs.d/init.el @@ -335,9 +335,15 @@ ;; ;; Activate column indicator in most mode, except for `org-mode' ;; Credit: https://github.com/syl20bnr/spacemacs/issues/4506 - (add-hook 'prog-mode-hook 'turn-on-fci-mode) - (add-hook 'text-mode-hook 'turn-on-fci-mode) - (add-hook 'org-mode-hook 'turn-off-fci-mode 'append) + ;; WARNING/XXX: + ;; 'fci-mode' has issues with 'truncate-lines' and 'company-mode' + ;; * 'fci-mode' will override 'truncate-lines' to 't' + ;; * with 'fci-mode' enabled and 'truncate-lines' set to 'nil', + ;; when the completion triggered, the 'truncate-lines' will be + ;; overridden to 't', which is very annoying. + ;(add-hook 'prog-mode-hook 'turn-on-fci-mode) + ;(add-hook 'text-mode-hook 'turn-on-fci-mode) + ;(add-hook 'org-mode-hook 'turn-off-fci-mode 'append) ;; ;; mu4e (push "~/.spacemacs.d/config" load-path) -- cgit v1.2.2