diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-25 21:03:34 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-25 21:03:34 +0200 |
commit | 68b2748af117b56208f25678c4b465af00dc64c5 (patch) | |
tree | f9038064b78513b3f99edb574cdd2943bd2fd633 /syntax/basic/doc.vim | |
parent | 14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 (diff) | |
download | vim-polyglot-68b2748af117b56208f25678c4b465af00dc64c5.tar.gz vim-polyglot-68b2748af117b56208f25678c4b465af00dc64c5.zip |
Update
Diffstat (limited to 'syntax/basic/doc.vim')
-rw-r--r-- | syntax/basic/doc.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/basic/doc.vim b/syntax/basic/doc.vim index 44c94ef6..50f03e29 100644 --- a/syntax/basic/doc.vim +++ b/syntax/basic/doc.vim @@ -7,8 +7,9 @@ syntax match shellbang "^#!.*iojs\>" "JavaScript comments syntax keyword typescriptCommentTodo TODO FIXME XXX TBD +syntax match typescriptMagicComment "@ts-\%(ignore\|expect-error\)\>" syntax match typescriptLineComment "//.*" - \ contains=@Spell,typescriptCommentTodo,typescriptRef + \ contains=@Spell,typescriptCommentTodo,typescriptRef,typescriptMagicComment syntax region typescriptComment \ start="/\*" end="\*/" \ contains=@Spell,typescriptCommentTodo extend |