emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/typst-ts-mode 0d2b61f320 173/246: feat: make `url` fontifi


From: ELPA Syncer
Subject: [nongnu] elpa/typst-ts-mode 0d2b61f320 173/246: feat: make `url` fontification inside `markup-standard` feature
Date: Fri, 14 Feb 2025 16:55:10 -0500 (EST)

branch: elpa/typst-ts-mode
commit 0d2b61f320147a2fb5bccbf3baa70d1a2c85c806
Author: Meow King <mr.meowking@anche.no>
Commit: Meow King <mr.meowking@anche.no>

    feat: make `url` fontification inside `markup-standard` feature
---
 typst-ts-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/typst-ts-mode.el b/typst-ts-mode.el
index 084c977e52..63b3c3c298 100644
--- a/typst-ts-mode.el
+++ b/typst-ts-mode.el
@@ -294,13 +294,15 @@ If you want to customize the rules, please customize the 
same name variable
       ,(if typst-ts-mode-font-lock-rules-markup-standard
            typst-ts-mode-font-lock-rules-markup-standard
          '((linebreak) @typst-ts-markup-linebreak-face
+           (url) @typst-ts-markup-url-face
            (quote) @typst-ts-markup-quote-face))
 
       :language typst
       :feature markup-extended
       ,(if typst-ts-mode-font-lock-rules-markup-extended
            typst-ts-mode-font-lock-rules-markup-extended
-         '((url) @typst-ts-markup-url-face))
+         ;; still provide this option so that user have 3 levels of markup 
fontication
+         '(nil))
 
       ;; please note that some feature there also in the math mode
       :language typst



reply via email to

[Prev in Thread] Current Thread [Next in Thread]