branch: elpa/typst-ts-mode
commit 014a88d4477aa9b8531fb792b44165d69edaf167
Author: meowking <mr.meowk...@tutamail.com>
Commit: meowking <mr.meowk...@tutamail.com>

    fix: typst-ts-mode-font-lock-rules -> math-extended feature
---
 typst-ts-mode.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/typst-ts-mode.el b/typst-ts-mode.el
index ea4777f927..a748931093 100644
--- a/typst-ts-mode.el
+++ b/typst-ts-mode.el
@@ -295,7 +295,8 @@ If you want to customize the rules, please customize the 
same name variable
 
       :language typst
       :feature markup-extended
-      ,@typst-ts-mode-font-lock-rules-markup-extended
+      ,@(when typst-ts-mode-font-lock-rules-markup-extended
+          (list typst-ts-mode-font-lock-rules-markup-extended))
 
       ;; please note that some feature there also in the math mode
       :language typst

Reply via email to