mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Use (supposedly) faster indent-guides glyph
This commit is contained in:
@ -4,6 +4,12 @@
|
|||||||
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
|
:hook ((prog-mode text-mode conf-mode) . highlight-indent-guides-mode)
|
||||||
:init
|
:init
|
||||||
(setq highlight-indent-guides-method 'character)
|
(setq highlight-indent-guides-method 'character)
|
||||||
|
|
||||||
|
;; HACK The default \x2502 appears to be slow on macOS. This needs more
|
||||||
|
;; testing, but for now we use another bar unicode glyph, which is
|
||||||
|
;; reportedly faster.
|
||||||
|
(when IS-MAC
|
||||||
|
(setq highlight-indent-guides-character ?\xFFE8))
|
||||||
:config
|
:config
|
||||||
(defun +indent-guides-init-faces-h ()
|
(defun +indent-guides-init-faces-h ()
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
|
Reference in New Issue
Block a user