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/ave.vim | 43 ++++++++++++++++--------------------------- 1 file changed, 16 insertions(+), 27 deletions(-) (limited to 'runtime/syntax/ave.vim') diff --git a/runtime/syntax/ave.vim b/runtime/syntax/ave.vim index 2a0a9d85af..ae36939364 100644 --- a/runtime/syntax/ave.vim +++ b/runtime/syntax/ave.vim @@ -11,11 +11,8 @@ " I use some technologies to automatically load avenue scripts " into ArcView. -" 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 @@ -59,34 +56,26 @@ syn match aveTypos "==" syn match aveTypos "!=" " 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_ave_syn_inits") - if version < 508 - let did_ave_syn_inits = 1 - command -nargs=+ HiLink hi link - else - command -nargs=+ HiLink hi def link - endif +" Only when an item doesn't have highlighting+yet +command -nargs=+ HiLink hi def link - HiLink aveStatement Statement +HiLink aveStatement Statement - HiLink aveString String - HiLink aveNumber Number +HiLink aveString String +HiLink aveNumber Number - HiLink aveFixVariables Special - HiLink aveVariables Identifier - HiLink globalVariables Special - HiLink aveConst Special +HiLink aveFixVariables Special +HiLink aveVariables Identifier +HiLink globalVariables Special +HiLink aveConst Special - HiLink aveClassMethods Function +HiLink aveClassMethods Function - HiLink aveOperator Operator - HiLink aveComment Comment +HiLink aveOperator Operator +HiLink aveComment Comment - HiLink aveTypos Error +HiLink aveTypos Error - delcommand HiLink -endif +delcommand HiLink let b:current_syntax = "ave" -- 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/ave.vim | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'runtime/syntax/ave.vim') diff --git a/runtime/syntax/ave.vim b/runtime/syntax/ave.vim index ae36939364..3e82a8bc9b 100644 --- a/runtime/syntax/ave.vim +++ b/runtime/syntax/ave.vim @@ -57,25 +57,23 @@ syn match aveTypos "!=" " Define the default highlighting. " Only when an item doesn't have highlighting+yet -command -nargs=+ HiLink hi def link -HiLink aveStatement Statement +hi def link aveStatement Statement -HiLink aveString String -HiLink aveNumber Number +hi def link aveString String +hi def link aveNumber Number -HiLink aveFixVariables Special -HiLink aveVariables Identifier -HiLink globalVariables Special -HiLink aveConst Special +hi def link aveFixVariables Special +hi def link aveVariables Identifier +hi def link globalVariables Special +hi def link aveConst Special -HiLink aveClassMethods Function +hi def link aveClassMethods Function -HiLink aveOperator Operator -HiLink aveComment Comment +hi def link aveOperator Operator +hi def link aveComment Comment -HiLink aveTypos Error +hi def link aveTypos Error -delcommand HiLink let b:current_syntax = "ave" -- cgit From 40fb96c76a46a85adb6a62ab8d83e83fc8e7aca7 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 28 Apr 2017 23:27:35 +0200 Subject: vim-patch:3e496b0ea319 Updated runtime files. https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0 NA patches: vim-patch:8.0.0015 vim-patch:8.0.0016 vim-patch:177778575148 --- runtime/syntax/ave.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/syntax/ave.vim') diff --git a/runtime/syntax/ave.vim b/runtime/syntax/ave.vim index 3e82a8bc9b..e63e7d2c30 100644 --- a/runtime/syntax/ave.vim +++ b/runtime/syntax/ave.vim @@ -34,7 +34,7 @@ syn match aveNumber "[+-]\=\<[0-9]\+\>" " Operator syn keyword aveOperator or and max min xor mod by -" 'not' is a kind of a problem: Its an Operator as well as a method +" 'not' is a kind of a problem: It's an Operator as well as a method " 'not' is only marked as an Operator if not applied as method syn match aveOperator "[^\.]not[^a-zA-Z]" -- cgit