feat(fold): change ts-fold replacement face
this is to make it similar to hideshow
This commit is contained in:
parent
7b9d00d661
commit
caa64e8324
1 changed files with 7 additions and 0 deletions
|
@ -91,4 +91,11 @@
|
||||||
:when (featurep! :tools tree-sitter)
|
:when (featurep! :tools tree-sitter)
|
||||||
:after tree-sitter
|
:after tree-sitter
|
||||||
:config
|
:config
|
||||||
|
;; we want to use our own face so we nullify this one to have no effect and
|
||||||
|
;; make it more similar to hideshows
|
||||||
|
(custom-set-faces! '(ts-fold-replacement-face :foreground nil
|
||||||
|
:box nil
|
||||||
|
:inherit font-lock-comment-face
|
||||||
|
:weight light))
|
||||||
|
(setq ts-fold-replacement " [...] ")
|
||||||
(ts-fold-mode +1))
|
(ts-fold-mode +1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue