Refactor fringe-helper config
This commit is contained in:
parent
58b77716c9
commit
e165450903
2 changed files with 31 additions and 29 deletions
|
@ -160,7 +160,10 @@ mode is detected.")
|
|||
(advice-add #'all-the-icons-alltheicon :around #'doom*disable-all-the-icons-in-tty))
|
||||
|
||||
(def-package! fringe-helper
|
||||
:commands fringe-helper-define)
|
||||
:commands (fringe-helper-define fringe-helper-convert)
|
||||
:init
|
||||
(unless (fboundp 'define-fringe-bitmap)
|
||||
(fset 'define-fringe-bitmap (lambda (&rest _)))))
|
||||
|
||||
(def-package! hideshow ; built-in
|
||||
:commands (hs-minor-mode hs-toggle-hiding hs-already-hidden-p)
|
||||
|
|
|
@ -111,7 +111,6 @@
|
|||
ov 'display (propertize " [...] " 'face '+doom-folded-face))))))
|
||||
|
||||
|
||||
(when (and (display-graphic-p) (fboundp 'define-fringe-bitmap))
|
||||
;; NOTE Adjust these bitmaps if you change `doom-ui-fringe-size'
|
||||
(after! flycheck
|
||||
;; because git-gutter is in the left fringe
|
||||
|
@ -139,4 +138,4 @@
|
|||
"X......."
|
||||
"XX......"
|
||||
"XXX....."
|
||||
"XXXX....")))
|
||||
"XXXX...."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue