branch: elpa/typst-ts-mode
commit 004ec9373b286f272f958b9252a1ceb638134d1f
Author: Ziqi Yang <mr.ziqiy...@gmail.com>
Commit: Ziqi Yang <mr.ziqiy...@gmail.com>

    fix: `typst-ts-markup-header-scale` custom setting function error
    
    also make headers share the same height as default
---
 typst-ts-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/typst-ts-mode.el b/typst-ts-mode.el
index 7a6dccc7b8..674543ea9c 100644
--- a/typst-ts-mode.el
+++ b/typst-ts-mode.el
@@ -107,7 +107,7 @@ is eliminated."
 (defvar typst-ts-mode-after-watch-hook nil
   "Hook runs after compile.")
 
-(defcustom typst-ts-markup-header-same-height nil
+(defcustom typst-ts-markup-header-same-height t
   "Whether to make header face in markup context share the same height."
   :type 'boolean
   :group 'typst-ts-faces)
@@ -120,7 +120,7 @@ is eliminated."
          (set-default symbol value)
          (when typst-ts-markup-header-same-height
            (set-default symbol (make-list (length value) 1.0))))
-  :set-after typst-ts-markup-header-same-height
+  :set-after '(typst-ts-markup-header-same-height)
   :group 'typst-ts-faces)
 
 ;; Markup Faces 
=================================================================

Reply via email to