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

Wed, 23 Aug 2017 15:49:42 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 23 Aug 2017 15:49:42 -0400
changeset 635
38be1320e6db
parent 371
034b31ed5212
child 643
e23cf51aca43
permissions
-rw-r--r--

the incessant ringing!

362
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
1 compiler perl
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
2 " even with g:perl_compiler_force_warnings = 0, perl -w is used and
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
3 " that's just noisy with intentional no-warnings blocks out there
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
4
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
5 setlocal makeprg=perl\ -c\ %\ $*
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
6 setlocal iskeyword+=:
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
7
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
8 " this keeps indents from jumping more than one level
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
9 let b:indent_use_syntax = 0
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
10
371
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
11 " Add match for =method and =func from Pod::Weaver
226
a155935cbe07 Add match for =method from Pod::Weaver, move to own file
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell
371
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
13 syn match podCommand "^=func" contained nextgroup=podCmdText contains=@NoSpell
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
14
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
15 syn sync minlines=15
226
a155935cbe07 Add match for =method from Pod::Weaver, move to own file
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
16
362
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
17 " Tweak some colors
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
18 hi! def link perlPOD Comment
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
19 hi! def link podCommand SpecialComment
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
20 hi! def link podCmdText Question
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
21 hi! def link podFormat StorageClass

mercurial