diff --git a/modules/editor/fold/autoload/hideshow.el b/modules/editor/fold/autoload/hideshow.el index a95f89535..1ee7ff62f 100644 --- a/modules/editor/fold/autoload/hideshow.el +++ b/modules/editor/fold/autoload/hideshow.el @@ -1,10 +1,5 @@ ;;; editor/fold/autoload/hideshow.el -*- lexical-binding: t; -*- -(defface +fold-hideshow-folded-face - `((t (:inherit font-lock-comment-face :weight light))) - "Face to hightlight `hideshow' overlays." - :group 'doom-themes) - ;;;###autoload (defun +fold-hideshow-haml-forward-sexp-fn (arg) (haml-forward-sexp arg) diff --git a/modules/editor/fold/config.el b/modules/editor/fold/config.el index 60b50f027..6bae1a36e 100644 --- a/modules/editor/fold/config.el +++ b/modules/editor/fold/config.el @@ -8,6 +8,11 @@ this." :type 'string :group '+fold) +(defface +fold-hideshow-folded-face + `((t (:inherit font-lock-comment-face :weight light))) + "Face to hightlight `hideshow' overlays." + :group 'doom-themes) + ;; ;;; Global config @@ -109,11 +114,5 @@ this." :when (modulep! :tools tree-sitter) :after tree-sitter :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 unspecified - :box nil - :inherit font-lock-comment-face - :weight light)) (setq ts-fold-replacement +fold-ellipsis) (global-ts-fold-mode +1))