Mercurial > vim
comparison runtime/syntax/prolog.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 | b11ceef7116e |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
75 syn sync maxlines=50 | 75 syn sync maxlines=50 |
76 | 76 |
77 | 77 |
78 " Define the default highlighting. | 78 " Define the default highlighting. |
79 " Only when an item doesn't have highlighting yet | 79 " Only when an item doesn't have highlighting yet |
80 command -nargs=+ HiLink hi def link <args> | |
81 | 80 |
82 " The default highlighting. | 81 " The default highlighting. |
83 HiLink prologComment Comment | 82 hi def link prologComment Comment |
84 HiLink prologCComment Comment | 83 hi def link prologCComment Comment |
85 HiLink prologCharCode Special | 84 hi def link prologCharCode Special |
86 | 85 |
87 if exists ("prolog_highlighting_clean") | 86 if exists ("prolog_highlighting_clean") |
88 | 87 |
89 HiLink prologKeyword Statement | 88 hi def link prologKeyword Statement |
90 HiLink prologClauseHead Statement | 89 hi def link prologClauseHead Statement |
91 HiLink prologClause Normal | 90 hi def link prologClause Normal |
92 | 91 |
93 else | 92 else |
94 | 93 |
95 HiLink prologKeyword Keyword | 94 hi def link prologKeyword Keyword |
96 HiLink prologClauseHead Constant | 95 hi def link prologClauseHead Constant |
97 HiLink prologClause Normal | 96 hi def link prologClause Normal |
98 HiLink prologQuestion PreProc | 97 hi def link prologQuestion PreProc |
99 HiLink prologSpecialCharacter Special | 98 hi def link prologSpecialCharacter Special |
100 HiLink prologNumber Number | 99 hi def link prologNumber Number |
101 HiLink prologAsIs Normal | 100 hi def link prologAsIs Normal |
102 HiLink prologCommentError Error | 101 hi def link prologCommentError Error |
103 HiLink prologAtom String | 102 hi def link prologAtom String |
104 HiLink prologString String | 103 hi def link prologString String |
105 HiLink prologOperator Operator | 104 hi def link prologOperator Operator |
106 | 105 |
107 endif | 106 endif |
108 | 107 |
109 delcommand HiLink | |
110 | 108 |
111 let b:current_syntax = "prolog" | 109 let b:current_syntax = "prolog" |
112 | 110 |
113 " vim: ts=8 | 111 " vim: ts=8 |