robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:57352b2: runtime: mention subscription only ml, fix typo in maintainer email (#37222)db210dd2a4

master
847 B27 linesraw
1" Vim filetype plugin file
2" Language:      Verbose TAP Output
3" Maintainer:    vim-perl <vim-perl@googlegroups.com> (need to be subscribed to post)
4" Homepage:      https://github.com/vim-perl/vim-perl
5" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
6" License:       Vim License (see :help license)
7" Last Change:   2021 Oct 22
8
9" Only do this when not done yet for this buffer
10if exists('b:did_ftplugin')
11    finish
12endif
13let b:did_ftplugin = 1
14
15setlocal foldtext=TAPTestLine_foldtext()
16function! TAPTestLine_foldtext()
17    let line = getline(v:foldstart)
18    let sub = substitute(line, '/\*\|\*/\|{{{\d\=', '', 'g')
19    return sub
20endfunction
21
22setlocal foldminlines=5
23setlocal foldcolumn=2
24setlocal foldenable
25setlocal foldmethod=syntax
26
27let b:undo_ftplugin = 'setlocal foldtext< foldminlines< foldcolumn< foldenable< foldmethod<'