Mercurial > vim
comparison runtime/syntax/opl.vim @ 10051:46763b01cd9a
commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 31 22:22:10 2016 +0200
Updated runtime files. Remove HiLink commands.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Aug 2016 22:30:08 +0200 |
parents | 43efa4f5a8ea |
children |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
71 syn region OPLComment start="REM[\t ]" end="$" | 71 syn region OPLComment start="REM[\t ]" end="$" |
72 syn match OPLMathsOperator "-\|=\|[:<>+\*^/\\]" | 72 syn match OPLMathsOperator "-\|=\|[:<>+\*^/\\]" |
73 | 73 |
74 " Define the default highlighting. | 74 " Define the default highlighting. |
75 " Only when an item doesn't have highlighting yet | 75 " Only when an item doesn't have highlighting yet |
76 command -nargs=+ HiLink hi def link <args> | |
77 | 76 |
78 HiLink OPLStatement Statement | 77 hi def link OPLStatement Statement |
79 HiLink OPLNumber Number | 78 hi def link OPLNumber Number |
80 HiLink OPLString String | 79 hi def link OPLString String |
81 HiLink OPLComment Comment | 80 hi def link OPLComment Comment |
82 HiLink OPLMathsOperator Conditional | 81 hi def link OPLMathsOperator Conditional |
83 " HiLink OPLError Error | 82 " hi def link OPLError Error |
84 | 83 |
85 delcommand HiLink | |
86 | 84 |
87 let b:current_syntax = "opl" | 85 let b:current_syntax = "opl" |
88 | 86 |
89 let &cpo = s:cpo_save | 87 let &cpo = s:cpo_save |
90 unlet s:cpo_save | 88 unlet s:cpo_save |