mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
Fix window-divider-mode init order
This commit is contained in:
@@ -82,19 +82,21 @@
|
|||||||
("\\<\\(FIXME\\(?:(.*)\\)?:?\\)\\>" 1 'error prepend)
|
("\\<\\(FIXME\\(?:(.*)\\)?:?\\)\\>" 1 'error prepend)
|
||||||
("\\<\\(NOTE\\(?:(.*)\\)?:?\\)\\>" 1 'success prepend))))
|
("\\<\\(NOTE\\(?:(.*)\\)?:?\\)\\>" 1 'success prepend))))
|
||||||
|
|
||||||
|
;; `window-divider-mode' gives us finer control over the border between windows.
|
||||||
|
;; The native border "consumes" a pixel of the fringe on righter-most splits (in
|
||||||
|
;; Yamamoto's emacs-mac at least), window-divider does not.
|
||||||
|
;; NOTE Only available on Emacs 25.1+
|
||||||
|
(when (boundp 'window-divider-mode)
|
||||||
|
(setq window-divider-default-places t
|
||||||
|
window-divider-default-bottom-width 1
|
||||||
|
window-divider-default-right-width 1)
|
||||||
|
(window-divider-mode +1))
|
||||||
|
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Plugins
|
;; Plugins
|
||||||
;;
|
;;
|
||||||
|
|
||||||
;; The native vertical border "consumes" a pixel of the fringe area on
|
|
||||||
;; righter-most window splits in emacs-mac. `window-divider-mode' does not.
|
|
||||||
(when (boundp 'window-divider-mode)
|
|
||||||
(window-divider-mode +1)
|
|
||||||
(setq window-divider-default-places 'right-only
|
|
||||||
window-divider-default-bottom-width 1
|
|
||||||
window-divider-default-right-width 1))
|
|
||||||
|
|
||||||
(use-package doom-themes
|
(use-package doom-themes
|
||||||
:config
|
:config
|
||||||
(setq doom-neotree-enable-variable-pitch t
|
(setq doom-neotree-enable-variable-pitch t
|
||||||
|
Reference in New Issue
Block a user