branch: elpa/typst-ts-mode commit e5c53c21656bb56715ccef0b53dbaf3493e3641b Author: Meow King <mr.meowk...@anche.no> Commit: Meow King <mr.meowk...@anche.no>
fix: item highlighting issue with single link Fixes: https://todo.sr.ht/~meow_king/typst-ts-mode/32 Signed-off-by: Meow King <mr.meowk...@anche.no> --- typst-ts-mode.el | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/typst-ts-mode.el b/typst-ts-mode.el index 2a9117e19d..9c2b951f54 100644 --- a/typst-ts-mode.el +++ b/typst-ts-mode.el @@ -312,11 +312,6 @@ See `typst-ts-mode-fontification-precision-level'." "Face for item." :group 'typst-ts-faces) -(defface typst-ts-markup-item-text-face - '((t :inherit default)) - "Face for item." - :group 'typst-ts-faces) - (defface typst-ts-markup-term-face '((t :inherit shadow)) "Face for whole term, use in min and middle fontification level. @@ -536,8 +531,7 @@ If you want to customize the rules, please customize the same name variable (emph) @typst-ts-markup-emphasis-face (strong) @typst-ts-markup-strong-face (item - "-" @typst-ts-markup-item-indicator-face - (text) @typst-ts-markup-item-text-face) + "-" @typst-ts-markup-item-indicator-face) (term "/" @typst-ts-markup-term-indicator-face term: (text) @typst-ts-markup-term-term-face @@ -592,8 +586,7 @@ If you want to customize the rules, please customize the same name variable (text) @typst-ts-markup-strong-face "*" @typst-ts-markup-strong-indicator-face) (item - "-" @typst-ts-markup-item-indicator-face - (text) @typst-ts-markup-item-text-face) + "-" @typst-ts-markup-item-indicator-face) (term "/" @typst-ts-markup-term-indicator-face term: (text) @typst-ts-markup-term-term-face