Skip to content

Commit

Permalink
fix: block comments decrease performance (#106) (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarmu authored Nov 1, 2024
1 parent ff3bc0e commit 2a4a0e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/typst.vim
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ syntax cluster typstCommon
" Common > Comment {{{2
syntax cluster typstComment
\ contains=typstCommentBlock,typstCommentLine
syntax match typstCommentBlock
\ #/\*\%(\_.\{-}\)\*/#
syntax region typstCommentBlock
\ start="/\*" end="\*/" keepend
\ contains=typstCommentTodo,@Spell
syntax match typstCommentLine
\ #//.*#
Expand Down

0 comments on commit 2a4a0e0

Please sign in to comment.