diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-06-15 09:20:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-15 09:20:32 +0200 |
commit | 504d7decbdef55d58e62217a0a54cbee2a0944cc (patch) | |
tree | 09922dd511d071bdde73df146eca5bda4741c759 /runtime/syntax/tap.vim | |
parent | 1493efdc141f0bc0a472b60f87927b3d5ab59f5e (diff) | |
download | rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.gz rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.tar.bz2 rneovim-504d7decbdef55d58e62217a0a54cbee2a0944cc.zip |
vim-patch:8c1b8cb2e0b5 (#18966)
Update runtime files
https://github.com/vim/vim/commit/8c1b8cb2e0b52d0853f85c2096a2f22dbc57a788
Diffstat (limited to 'runtime/syntax/tap.vim')
-rw-r--r-- | runtime/syntax/tap.vim | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/runtime/syntax/tap.vim b/runtime/syntax/tap.vim index db37bb8980..6b00b1d588 100644 --- a/runtime/syntax/tap.vim +++ b/runtime/syntax/tap.vim @@ -2,9 +2,9 @@ " Language: Verbose TAP Output " Maintainer: Rufus Cable <rufus@threebytesfull.com> " Remark: Simple syntax highlighting for TAP output -" License: +" License: Vim License (see :help license) " Copyright: (c) 2008-2013 Rufus Cable -" Last Change: 2014-12-13 +" Last Change: 2020 Mar 15 if exists("b:current_syntax") finish @@ -29,12 +29,12 @@ syn match tapTestStatusOK /ok/ contained syn match tapTestStatusNotOK /not ok/ contained " highlight todo tests -syn match tapTestTodo /\(# TODO\|Failed (TODO)\) .*$/ contained contains=tapTestTodoRev -syn match tapTestTodoRev /\<TODO\>/ contained +syn match tapTestTodo /\c\(# TODO\|Failed (TODO)\) .*$/ contained contains=tapTestTodoRev +syn match tapTestTodoRev /\c\<TODO\>/ contained " highlight skipped tests -syn match tapTestSkip /# skip .*$/ contained contains=tapTestSkipTag -syn match tapTestSkipTag /\(# \)\@<=skip\>/ contained +syn match tapTestSkip /\c# skip .*$/ contained contains=tapTestSkipTag +syn match tapTestSkipTag /\c\(# \)\@<=skip\>/ contained " look behind so "ok 123" and "not ok 124" match test number syn match tapTestNumber /\(ok \)\@<=\d\d*/ contained @@ -51,17 +51,6 @@ syn region tapTestResultsSummaryNotOK start=/TODO passed:/ end=/$/ contained syn region tapTestInstructionsRegion start=/\%1l/ end=/^$/ -set foldtext=TAPTestLine_foldtext() -function! TAPTestLine_foldtext() - let line = getline(v:foldstart) - let sub = substitute(line, '/\*\|\*/\|{{{\d\=', '', 'g') - return sub -endfunction - -set foldminlines=5 -set foldcolumn=2 -set foldenable -set foldmethod=syntax syn sync fromstart if !exists("did_tapverboseoutput_syntax_inits") |