robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
db210dd2a4
master
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' ) 11finish 12endif 13let b: did_ftplugin = 1 14 15setlocal foldtext = TAPTestLine _foldtext() 16function ! TAPTestLine_foldtext () 17let line = getline ( v: foldstart ) 18let sub = substitute ( line , '/\*\|\*/\|{{{\d\=' , '' , 'g' ) 19return 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<'