mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
runtime(typst): synchronize updates from the upstream typst.vim
2 commits included from the upstream: -2a4a0e0662
-50e89f4811
Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com> Signed-off-by: Gregory Anders <greg@gpanders.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8854244587
commit
d181bafd0b
@@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: Typst
|
||||
" Maintainer: Gregory Anders <greg@gpanders.com>
|
||||
" Last Change: 2024-07-14
|
||||
" Last Change: 2024 Nov 02
|
||||
" Based on: https://github.com/kaarmu/typst.vim
|
||||
|
||||
if exists('b:current_syntax')
|
||||
@@ -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
|
||||
\ #//.*#
|
||||
|
Reference in New Issue
Block a user