Mercurial > vim
comparison runtime/syntax/robots.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 | 5b7ea82bc18f |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
36 " Some frequent things in comments | 36 " Some frequent things in comments |
37 syn match robotsUrl "http[s]\=://\S*" | 37 syn match robotsUrl "http[s]\=://\S*" |
38 syn match robotsMail "\S*@\S*" | 38 syn match robotsMail "\S*@\S*" |
39 syn region robotsString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ | 39 syn region robotsString start=+L\="+ skip=+\\\\\|\\"+ end=+"+ |
40 | 40 |
41 command -nargs=+ HiLink hi def link <args> | |
42 | 41 |
43 HiLink robotsComment Comment | 42 hi def link robotsComment Comment |
44 HiLink robotsAgent Type | 43 hi def link robotsAgent Type |
45 HiLink robotsDisallow Statement | 44 hi def link robotsDisallow Statement |
46 HiLink robotsLine Special | 45 hi def link robotsLine Special |
47 HiLink robotsStar Operator | 46 hi def link robotsStar Operator |
48 HiLink robotsDelimiter Delimiter | 47 hi def link robotsDelimiter Delimiter |
49 HiLink robotsUrl String | 48 hi def link robotsUrl String |
50 HiLink robotsMail String | 49 hi def link robotsMail String |
51 HiLink robotsString String | 50 hi def link robotsString String |
52 | 51 |
53 delcommand HiLink | |
54 | 52 |
55 | 53 |
56 let b:current_syntax = "robots" | 54 let b:current_syntax = "robots" |
57 | 55 |
58 " vim: ts=8 sw=2 | 56 " vim: ts=8 sw=2 |