mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Disable fci-mode in org-mode by default
Too many issues caused by variable font and icon sizes in org-mode (see
This commit is contained in:
@ -16,6 +16,8 @@ Changes to this variable do not take effect until `fci-mode' is restarted.")
|
|||||||
(def-package! fill-column-indicator
|
(def-package! fill-column-indicator
|
||||||
:hook ((text-mode prog-mode conf-mode) . turn-on-fci-mode)
|
:hook ((text-mode prog-mode conf-mode) . turn-on-fci-mode)
|
||||||
:config
|
:config
|
||||||
|
(add-hook 'org-mode-hook #'turn-off-fci-mode)
|
||||||
|
|
||||||
(defun +fci|set-color ()
|
(defun +fci|set-color ()
|
||||||
"Automatically change `fci-rule-color' based on `+fci-rule-color-function's
|
"Automatically change `fci-rule-color' based on `+fci-rule-color-function's
|
||||||
return value. To disable this, either set `+fci-rule-color-function' to nil or
|
return value. To disable this, either set `+fci-rule-color-function' to nil or
|
||||||
|
Reference in New Issue
Block a user