aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-06-17 20:42:58 +0800
committerAaron LI <aaronly.me@outlook.com>2016-06-17 20:42:58 +0800
commit7c0575dbc19d189b6274950a76e6aef9140475ab (patch)
tree80c5e372cc0ef6b7da8079a42b1e4c10e9953e87
parenta5575dedfad9123191e43bf6b2eecca9e620589f (diff)
downloaddotfiles-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.
-rw-r--r--_spacemacs.d/init.el12
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)