perl syntax fixes maybe

Wed, 16 Jun 2021 12:21:26 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 16 Jun 2021 12:21:26 -0500
changeset 910
272ba799a19e
parent 909
aa1b7e2ef1d9
child 911
abfa73c8cfda

perl syntax fixes maybe

.vim/after/syntax/perl/custom.vim file | annotate | diff | comparison | revisions
--- a/.vim/after/syntax/perl/custom.vim
+++ b/.vim/after/syntax/perl/custom.vim
@@ -1,7 +1,13 @@
 " this keeps indents from jumping more than one level
 let b:indent_use_syntax = 0
 
-syn sync minlines=50
+syn sync minlines=1500
+
+" Weird behavior in sql heredocs
+syn clear sqlFold
+
+" fix highlight-all-pragma for vN.NN
+syn match perlStatementInclude   "\<\%(use\|no\)\s\+v\(\d\|.\)\+"
 
 " Add match for =method and =func from Pod::Weaver
 syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell

mercurial