Mercurial > vim
comparison runtime/syntax/m4.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 | c58baa6d6dda |
comparison
equal
deleted
inserted
replaced
10050:b702edc4b2b8 | 10051:46763b01cd9a |
---|---|
35 syn region m4String start="`" end="'" contained contains=@m4Top,@m4StringContents,SpellErrors | 35 syn region m4String start="`" end="'" contained contains=@m4Top,@m4StringContents,SpellErrors |
36 syn cluster m4Top contains=m4Comment,m4Constants,m4Special,m4Variable,m4String,m4Paren,m4Command,m4Statement,m4Function | 36 syn cluster m4Top contains=m4Comment,m4Constants,m4Special,m4Variable,m4String,m4Paren,m4Command,m4Statement,m4Function |
37 | 37 |
38 " Define the default highlighting. | 38 " Define the default highlighting. |
39 " Only when an item doesn't have highlighting yet | 39 " Only when an item doesn't have highlighting yet |
40 command -nargs=+ HiLink hi def link <args> | 40 hi def link m4Delimiter Delimiter |
41 HiLink m4Delimiter Delimiter | 41 hi def link m4Comment Comment |
42 HiLink m4Comment Comment | 42 hi def link m4Function Function |
43 HiLink m4Function Function | 43 hi def link m4Keyword Keyword |
44 HiLink m4Keyword Keyword | 44 hi def link m4Special Special |
45 HiLink m4Special Special | 45 hi def link m4String String |
46 HiLink m4String String | 46 hi def link m4Statement Statement |
47 HiLink m4Statement Statement | 47 hi def link m4Preproc PreProc |
48 HiLink m4Preproc PreProc | 48 hi def link m4Type Type |
49 HiLink m4Type Type | 49 hi def link m4Special Special |
50 HiLink m4Special Special | 50 hi def link m4Variable Special |
51 HiLink m4Variable Special | 51 hi def link m4Constants Constant |
52 HiLink m4Constants Constant | 52 hi def link m4Builtin Statement |
53 HiLink m4Builtin Statement | |
54 delcommand HiLink | |
55 | 53 |
56 let b:current_syntax = "m4" | 54 let b:current_syntax = "m4" |
57 | 55 |
58 if main_syntax == 'm4' | 56 if main_syntax == 'm4' |
59 unlet main_syntax | 57 unlet main_syntax |