Use (supposedly) faster indent-guides glyph
This commit is contained in:
parent
064df8ace4
commit
68815a6a37
1 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue