branch: elpa/typst-ts-mode
commit 0d2b61f320147a2fb5bccbf3baa70d1a2c85c806
Author: Meow King <[email protected]>
Commit: Meow King <[email protected]>
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