diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-06-17 20:42:58 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-06-17 20:42:58 +0800 |
commit | 7c0575dbc19d189b6274950a76e6aef9140475ab (patch) | |
tree | 80c5e372cc0ef6b7da8079a42b1e4c10e9953e87 /_spacemacs.d/init.el | |
parent | a5575dedfad9123191e43bf6b2eecca9e620589f (diff) | |
download | dotfiles-7c0575dbc19d189b6274950a76e6aef9140475ab.tar.bz2 |
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.
Diffstat (limited to '_spacemacs.d/init.el')
-rw-r--r-- | _spacemacs.d/init.el | 12 |
1 files 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) |