3
3
"
4
4
" {{{ BLOCK: Last-modified
5
5
6
- " Tue, 06 Feb 2018 11:24:44 +0000, PHP 7.2.2-1+ubuntu14.04.1+deb.sury.org+1
6
+ " Mon, 09 Apr 2018 08:49:14 +0000, PHP 7.2.2-1+ubuntu14.04.1+deb.sury.org+1
7
7
8
8
" }}}
9
9
"
@@ -668,6 +668,16 @@ if version >= 704
668
668
" @end phpHereDoc
669
669
else
670
670
" @copy phpHereDoc strip_maximum_size
671
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\I\i *\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @S pell,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
672
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = + \( <<<\)\@ <= " \z (\I\i *\) " $ + end = " ^\z 1\( ;\= $\)\@ =" contained contains= @S pell,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
673
+ " including HTML,JavaScript,SQL if enabled via options
674
+ if (exists (" php_html_in_heredoc" ) && php_html_in_heredoc)
675
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( html\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @h tmlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
676
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( javascript\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @h tmlJavascript,phpIdentifierSimply,phpIdentifier,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
677
+ endif
678
+ if (exists (" php_sql_heredoc" ) && php_sql_heredoc)
679
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( sql\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @s qlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
680
+ endif
671
681
" @end phpHereDoc
672
682
endif
673
683
@@ -686,6 +696,16 @@ if version >= 704
686
696
" @end phpNowDoc
687
697
else
688
698
" @copy phpHereDoc strip_maximum_size
699
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\I\i *\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @S pell,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
700
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = + \( <<<\)\@ <= " \z (\I\i *\) " $ + end = " ^\z 1\( ;\= $\)\@ =" contained contains= @S pell,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
701
+ " including HTML,JavaScript,SQL if enabled via options
702
+ if (exists (" php_html_in_heredoc" ) && php_html_in_heredoc)
703
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( html\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @h tmlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
704
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( javascript\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @h tmlJavascript,phpIdentifierSimply,phpIdentifier,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
705
+ endif
706
+ if (exists (" php_sql_heredoc" ) && php_sql_heredoc)
707
+ SynFold syn region phpHereDoc matchgroup= Delimiter start = " \( <<<\)\@ <=\z (\(\I\i *\)\=\( sql\)\c\(\i *\)\) $" end = " ^\z 1\( ;\= $\)\@ =" contained contains= @s qlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpSpecialChar,phpMethodsVar,phpStrEsc keepend extend
708
+ endif
689
709
" @end phpNowDoc
690
710
endif
691
711
0 commit comments