Skip to content

Commit 149a98a

Browse files
committed
perf(markdown): remove expensive latex query
1 parent 5dfe155 commit 149a98a

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

after/queries/markdown/matchup.scm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
;; ====================
44
(fenced_code_block
55
(fenced_code_block_delimiter) @open.code_fence
6-
(fenced_code_block_delimiter) @close.code_fence) @scope.code_fence
6+
(fenced_code_block_delimiter) @close.code_fence) @scope.code_fence

after/queries/markdown_inline/matchup.scm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,3 @@
2727
(strikethrough
2828
(emphasis_delimiter) @open.strikethrough
2929
(emphasis_delimiter) @close.strikethrough) @scope.strikethrough
30-
31-
;; ===========================
32-
;; LaTeX math ($...$ / $$...$$)
33-
;; ===========================
34-
(latex_block
35-
(latex_span_delimiter) @open.math
36-
(latex_span_delimiter) @close.math) @scope.math

0 commit comments

Comments
 (0)