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

Fri, 18 Oct 2019 14:05:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 14:05:27 -0400
changeset 803
ffc6f9c140cd
parent 745
dd23da749523
child 910
272ba799a19e
permissions
-rw-r--r--

Move this Ag stuff into a function, remove flickers

362
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
1 " 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
2 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
3
745
dd23da749523 can't win with this
Meredith Howard <mhoward@roomag.org>
parents: 744
diff changeset
4 syn sync minlines=50
744
7a5823050d74 clean up "after" files
Meredith Howard <mhoward@roomag.org>
parents: 658
diff changeset
5
371
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
6 " 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
7 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell
371
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
8 syn match podCommand "^=func" contained nextgroup=podCmdText contains=@NoSpell
034b31ed5212 syntax fixup
Meredith Howard <mhoward@roomag.org>
parents: 362
diff changeset
9
656
a74ea5b0fc73 Fix error marker due to loose function-parameters match
Meredith Howard <mhoward@roomag.org>
parents: 651
diff changeset
10 " Add matches for contrib/function-parameters.vim, but don't apply to fat-arrow cases
a74ea5b0fc73 Fix error marker due to loose function-parameters match
Meredith Howard <mhoward@roomag.org>
parents: 651
diff changeset
11 syn match perlFunction +\<method\>\(\_s*=>\)\@!\_s*+ nextgroup=perlSubName
a74ea5b0fc73 Fix error marker due to loose function-parameters match
Meredith Howard <mhoward@roomag.org>
parents: 651
diff changeset
12 syn match perlFunction +\<fun\>\(\_s*=>\)\@!\_s*+ nextgroup=perlSubName
a74ea5b0fc73 Fix error marker due to loose function-parameters match
Meredith Howard <mhoward@roomag.org>
parents: 651
diff changeset
13
a74ea5b0fc73 Fix error marker due to loose function-parameters match
Meredith Howard <mhoward@roomag.org>
parents: 651
diff changeset
14 " Tweak some colors, making POD stand out less
362
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
15 hi! def link perlPOD Comment
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
16 hi! def link podCommand SpecialComment
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
17 hi! def link podCmdText Question
7c5b0e94b399 Tweak perl settings, move all into after-syntax file
Meredith Howard <mhoward@roomag.org>
parents: 345
diff changeset
18 hi! def link podFormat StorageClass

mercurial