comparison runtime/syntax/pyrex.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
35 " With "for[^:]*\zsfrom" VIM does not match "for" anymore, so 35 " With "for[^:]*\zsfrom" VIM does not match "for" anymore, so
36 " I used the slower "\@<=" form 36 " I used the slower "\@<=" form
37 syn match pyrexForFrom "\(for[^:]*\)\@<=from" 37 syn match pyrexForFrom "\(for[^:]*\)\@<=from"
38 38
39 " Default highlighting 39 " Default highlighting
40 command -nargs=+ HiLink hi def link <args> 40 hi def link pyrexStatement Statement
41 HiLink pyrexStatement Statement 41 hi def link pyrexType Type
42 HiLink pyrexType Type 42 hi def link pyrexStructure Structure
43 HiLink pyrexStructure Structure 43 hi def link pyrexInclude PreCondit
44 HiLink pyrexInclude PreCondit 44 hi def link pyrexAccess pyrexStatement
45 HiLink pyrexAccess pyrexStatement
46 if exists("python_highlight_builtins") || exists("pyrex_highlight_builtins") 45 if exists("python_highlight_builtins") || exists("pyrex_highlight_builtins")
47 HiLink pyrexBuiltin Function 46 hi def link pyrexBuiltin Function
48 endif 47 endif
49 HiLink pyrexForFrom Statement 48 hi def link pyrexForFrom Statement
50 49
51 delcommand HiLink
52 50
53 let b:current_syntax = "pyrex" 51 let b:current_syntax = "pyrex"