From a53409b564458f7a94c8fcd0725d1953dee58dce Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 28 Apr 2017 21:06:44 +0200 Subject: vim-patch:89bcfda6834a Updated runtime files. Remove version checks for Vim older than 6.0. https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5 --- runtime/syntax/pod.vim | 43 ++++++++++++++++--------------------------- 1 file changed, 16 insertions(+), 27 deletions(-) (limited to 'runtime/syntax/pod.vim') diff --git a/runtime/syntax/pod.vim b/runtime/syntax/pod.vim index b9f2e0854f..c545141275 100644 --- a/runtime/syntax/pod.vim +++ b/runtime/syntax/pod.vim @@ -19,11 +19,8 @@ " Remove any old syntax stuff hanging around (this is suppressed " automatically by ":syn include" if necessary). -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") +" quit when a syntax file was already loaded +if exists("b:current_syntax") finish endif @@ -67,28 +64,20 @@ syn match podEscape "\I\i*>"me=e-1 contained contains=@NoSpell syn match podEscape2 "\d\+>"me=e-1 contained contains=@NoSpell " Define the default highlighting. -" For version 5.7 and earlier: only when not done already -" For version 5.8 and later: only when an item doesn't have highlighting yet -if version >= 508 || !exists("did_pod_syntax_inits") - if version < 508 - let did_pod_syntax_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif - - HiLink podCommand Statement - HiLink podCmdText String - HiLink podOverIndent Number - HiLink podForKeywd Identifier - HiLink podFormat Identifier - HiLink podVerbatimLine PreProc - HiLink podSpecial Identifier - HiLink podEscape String - HiLink podEscape2 Number - - delcommand HiLink -endif +" Only when an item doesn't have highlighting yet +command -nargs=+ HiLink hi def link + +HiLink podCommand Statement +HiLink podCmdText String +HiLink podOverIndent Number +HiLink podForKeywd Identifier +HiLink podFormat Identifier +HiLink podVerbatimLine PreProc +HiLink podSpecial Identifier +HiLink podEscape String +HiLink podEscape2 Number + +delcommand HiLink if exists("perl_pod_spellcheck_headings") " Spell-check headings -- cgit From 86b596dc7a49f1b148ef82a356b972b93ed0f6d4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 28 Apr 2017 21:14:34 +0200 Subject: vim-patch:f37506f60f87 Updated runtime files. Remove HiLink commands. https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c --- runtime/syntax/pod.vim | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'runtime/syntax/pod.vim') diff --git a/runtime/syntax/pod.vim b/runtime/syntax/pod.vim index c545141275..7c65a8433f 100644 --- a/runtime/syntax/pod.vim +++ b/runtime/syntax/pod.vim @@ -65,19 +65,17 @@ syn match podEscape2 "\d\+>"me=e-1 contained contains=@NoSpell " Define the default highlighting. " Only when an item doesn't have highlighting yet -command -nargs=+ HiLink hi def link - -HiLink podCommand Statement -HiLink podCmdText String -HiLink podOverIndent Number -HiLink podForKeywd Identifier -HiLink podFormat Identifier -HiLink podVerbatimLine PreProc -HiLink podSpecial Identifier -HiLink podEscape String -HiLink podEscape2 Number - -delcommand HiLink + +hi def link podCommand Statement +hi def link podCmdText String +hi def link podOverIndent Number +hi def link podForKeywd Identifier +hi def link podFormat Identifier +hi def link podVerbatimLine PreProc +hi def link podSpecial Identifier +hi def link podEscape String +hi def link podEscape2 Number + if exists("perl_pod_spellcheck_headings") " Spell-check headings -- cgit From 8c6168565cb5dade92f9da51c1c9e96882029eaa Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 7 Nov 2017 19:34:37 +0100 Subject: vim-patch:37c64c78fd87 Note: Ignored changes to matchit.vim in favor of faca81411628. --- Update runtime files. https://github.com/vim/vim/commit/37c64c78fd87e086b5a945ad7032787c274e2dcb --- runtime/syntax/pod.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'runtime/syntax/pod.vim') diff --git a/runtime/syntax/pod.vim b/runtime/syntax/pod.vim index 7c65a8433f..604713260b 100644 --- a/runtime/syntax/pod.vim +++ b/runtime/syntax/pod.vim @@ -4,7 +4,7 @@ " Previously: Scott Bigham " Homepage: http://github.com/vim-perl/vim-perl " Bugs/requests: http://github.com/vim-perl/vim-perl/issues -" Last Change: 2013-07-21 +" Last Change: 2017-09-12 " To add embedded POD documentation highlighting to your syntax file, add " the commands: @@ -68,7 +68,7 @@ syn match podEscape2 "\d\+>"me=e-1 contained contains=@NoSpell hi def link podCommand Statement hi def link podCmdText String -hi def link podOverIndent Number +hi def link podOverIndent Number hi def link podForKeywd Identifier hi def link podFormat Identifier hi def link podVerbatimLine PreProc @@ -76,7 +76,6 @@ hi def link podSpecial Identifier hi def link podEscape String hi def link podEscape2 Number - if exists("perl_pod_spellcheck_headings") " Spell-check headings syn clear podCmdText -- cgit