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

changeset 362
7c5b0e94b399
parent 345
e0bfe67950f8
child 371
034b31ed5212
equal deleted inserted replaced
361:7ab7173fb61f 362:7c5b0e94b399
1 compiler perl
2 " even with g:perl_compiler_force_warnings = 0, perl -w is used and
3 " that's just noisy with intentional no-warnings blocks out there
4
5 setlocal makeprg=perl\ -c\ %\ $*
6 setlocal iskeyword+=:
7
8 " this keeps indents from jumping more than one level
9 let b:indent_use_syntax = 0
10
1 " Add match for =method from Pod::Weaver 11 " Add match for =method from Pod::Weaver
2 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell 12 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell
3 13
14 " Tweak some colors
15 hi! def link perlPOD Comment
16 hi! def link podCommand SpecialComment
17 hi! def link podCmdText Question
18 hi! def link podFormat StorageClass

mercurial