feat(fold): change ts-fold replacement face

this is to make it similar to hideshow
This commit is contained in:
Jeetaditya Chatterjee 2021-11-06 12:47:57 +00:00
parent 7b9d00d661
commit caa64e8324
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91

View file

@ -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))