Remove visual-fill-column package from Doom core
It is not essential enough to keep in Doom core. I'm working on a new module (or a rewrite for app/write) to replace it.
This commit is contained in:
parent
67b6c44939
commit
20720cda61
4 changed files with 1 additions and 15 deletions
|
@ -364,14 +364,6 @@ read-only or not file-visiting."
|
||||||
;; languages like Lisp.
|
;; languages like Lisp.
|
||||||
(setq rainbow-delimiters-max-face-count 3)
|
(setq rainbow-delimiters-max-face-count 3)
|
||||||
|
|
||||||
;;;###package visual-fill-column
|
|
||||||
;; For a distractions-free-like UI, that dynamically resizes margins and can
|
|
||||||
;; center a buffer.
|
|
||||||
(setq visual-fill-column-center-text t
|
|
||||||
visual-fill-column-width
|
|
||||||
;; take Emacs 26 line numbers into account
|
|
||||||
(+ (if EMACS26+ 6 0) fill-column))
|
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;;; Line numbers
|
;;; Line numbers
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
(package! nlinum-hl)
|
(package! nlinum-hl)
|
||||||
(package! nlinum-relative))
|
(package! nlinum-relative))
|
||||||
(package! rainbow-delimiters)
|
(package! rainbow-delimiters)
|
||||||
(package! visual-fill-column)
|
|
||||||
(package! restart-emacs)
|
(package! restart-emacs)
|
||||||
|
|
||||||
;; core-editor.el
|
;; core-editor.el
|
||||||
|
|
|
@ -9,3 +9,4 @@
|
||||||
(when (featurep! +wordnut)
|
(when (featurep! +wordnut)
|
||||||
(package! wordnut))
|
(package! wordnut))
|
||||||
|
|
||||||
|
(package! visual-fill-column)
|
||||||
|
|
|
@ -46,12 +46,6 @@
|
||||||
|
|
||||||
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch*dont-confirm-on-kill-process)
|
(advice-add #'notmuch-start-notmuch-sentinel :around #'+notmuch*dont-confirm-on-kill-process)
|
||||||
|
|
||||||
;; Visual enhancements
|
|
||||||
(defun +notmuch|center-window ()
|
|
||||||
(setq-local visual-fill-column-width 90)
|
|
||||||
(visual-fill-column-mode))
|
|
||||||
(add-hook 'notmuch-show-mode-hook #'+notmuch|center-window)
|
|
||||||
|
|
||||||
;; modeline doesn't have much use in these modes
|
;; modeline doesn't have much use in these modes
|
||||||
(add-hook! (notmuch-show-mode notmuch-tree-mode notmuch-search-mode)
|
(add-hook! (notmuch-show-mode notmuch-tree-mode notmuch-search-mode)
|
||||||
#'hide-mode-line-mode))
|
#'hide-mode-line-mode))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue