.vim/after/syntax/perl/custom.vim

changeset 910
272ba799a19e
parent 745
dd23da749523
child 972
93a774dccd46
equal deleted inserted replaced
909:aa1b7e2ef1d9 910:272ba799a19e
1 " this keeps indents from jumping more than one level 1 " this keeps indents from jumping more than one level
2 let b:indent_use_syntax = 0 2 let b:indent_use_syntax = 0
3 3
4 syn sync minlines=50 4 syn sync minlines=1500
5
6 " Weird behavior in sql heredocs
7 syn clear sqlFold
8
9 " fix highlight-all-pragma for vN.NN
10 syn match perlStatementInclude "\<\%(use\|no\)\s\+v\(\d\|.\)\+"
5 11
6 " Add match for =method and =func from Pod::Weaver 12 " Add match for =method and =func from Pod::Weaver
7 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell 13 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell
8 syn match podCommand "^=func" contained nextgroup=podCmdText contains=@NoSpell 14 syn match podCommand "^=func" contained nextgroup=podCmdText contains=@NoSpell
9 15

mercurial