Mercurial > vim
comparison runtime/syntax/lhaskell.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 | ef454a7f485d |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
102 syntax match beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained | 102 syntax match beginCodeBegin "^\\begin" nextgroup=beginCodeCode contained |
103 syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}" | 103 syntax region beginCodeCode matchgroup=texDelimiter start="{" end="}" |
104 | 104 |
105 " Define the default highlighting. | 105 " Define the default highlighting. |
106 " Only when an item doesn't have highlighting yet | 106 " Only when an item doesn't have highlighting yet |
107 command -nargs=+ HiLink hi def link <args> | |
108 | 107 |
109 HiLink lhsBirdTrack Comment | 108 hi def link lhsBirdTrack Comment |
110 | 109 |
111 HiLink beginCodeBegin texCmdName | 110 hi def link beginCodeBegin texCmdName |
112 HiLink beginCodeCode texSection | 111 hi def link beginCodeCode texSection |
113 | 112 |
114 delcommand HiLink | |
115 | 113 |
116 " Restore cursor to original position, as it may have been disturbed | 114 " Restore cursor to original position, as it may have been disturbed |
117 " by the searches in our guessing code | 115 " by the searches in our guessing code |
118 call cursor (s:oldline, s:oldcolumn) | 116 call cursor (s:oldline, s:oldcolumn) |
119 | 117 |