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

changeset 371
034b31ed5212
parent 362
7c5b0e94b399
child 643
e23cf51aca43
equal deleted inserted replaced
370:53d2c0f25337 371:034b31ed5212
6 setlocal iskeyword+=: 6 setlocal iskeyword+=:
7 7
8 " this keeps indents from jumping more than one level 8 " this keeps indents from jumping more than one level
9 let b:indent_use_syntax = 0 9 let b:indent_use_syntax = 0
10 10
11 " Add match for =method from Pod::Weaver 11 " Add match for =method and =func from Pod::Weaver
12 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell 12 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell
13 syn match podCommand "^=func" contained nextgroup=podCmdText contains=@NoSpell
14
15 syn sync minlines=15
13 16
14 " Tweak some colors 17 " Tweak some colors
15 hi! def link perlPOD Comment 18 hi! def link perlPOD Comment
16 hi! def link podCommand SpecialComment 19 hi! def link podCommand SpecialComment
17 hi! def link podCmdText Question 20 hi! def link podCmdText Question

mercurial