updated for version 7.0066
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
" Vim syntax file
|
||||
" Language: C#
|
||||
" Maintainer: Johannes Zellner <johannes@zellner.org>
|
||||
" Last Change: Tue, 09 Mar 2004 14:32:13 CET
|
||||
" Last Change: Mi, 13 Apr 2005 22:52:57 CEST
|
||||
" Filenames: *.cs
|
||||
" $Id$
|
||||
"
|
||||
@ -92,7 +92,7 @@ syn match csSpecialChar contained +\\["\\'0abfnrtvx]+
|
||||
" unicode characters
|
||||
syn match csUnicodeNumber +\\\(u\x\{4}\|U\x\{8}\)+ contained contains=csUnicodeSpecifier
|
||||
syn match csUnicodeSpecifier +\\[uU]+ contained
|
||||
syn region csVerbatimString start=+@"+ end=+"+ end=+$+ contains=csVerbatimSpec
|
||||
syn region csVerbatimString start=+@"+ end=+"+ end=+$+ skip=+""+ contains=csVerbatimSpec
|
||||
syn match csVerbatimSpec +@"+he=s+1 contained
|
||||
syn region csString start=+"+ end=+"+ end=+$+ contains=csSpecialChar,csSpecialError,csUnicodeNumber
|
||||
syn match csCharacter "'[^']*'" contains=csSpecialChar,csSpecialCharError
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
" Maintainer: Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
|
||||
" Ex-maintainer: Anthony Hodsdon <ahodsdon@fastmail.fm>
|
||||
" First Author: Valentino Kyriakides <1kyriaki@informatik.uni-hamburg.de>
|
||||
" Last Change: 2004 May 20
|
||||
" Last Change: 2005 Apr 13
|
||||
|
||||
" For version 5.x: Clear all syntax items
|
||||
" For version 6.x: Quit when a syntax file was already loaded
|
||||
@ -30,8 +30,9 @@ endif
|
||||
|
||||
" ObjC keywords, types, type qualifiers etc.
|
||||
syn keyword objcStatement self super _cmd
|
||||
syn keyword objcType id Class SEL IMP BOOL nil Nil
|
||||
syn keyword objcType id Class SEL IMP BOOL
|
||||
syn keyword objcTypeModifier bycopy in out inout oneway
|
||||
syn keyword objcConstant nil Nil
|
||||
|
||||
" Match the ObjC #import directive (like C's #include)
|
||||
syn region objcImported display contained start=+"+ skip=+\\\\\|\\"+ end=+"+
|
||||
@ -98,6 +99,7 @@ if version >= 508 || !exists("did_objc_syntax_inits")
|
||||
HiLink objcString cString
|
||||
HiLink objcSpecial Special
|
||||
HiLink objcProtocol None
|
||||
HiLink objcConstant cConstant
|
||||
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
" Maintainer: Johannes Zellner <johannes@zellner.org>
|
||||
" Author and previous maintainer:
|
||||
" Paul Siegmann <pauls@euronet.nl>
|
||||
" Last Change: Fri, 04 Jun 2004 10:41:54 CEST
|
||||
" Last Change: Mi, 13 Apr 2005 22:40:09 CEST
|
||||
" Filenames: *.xml
|
||||
" $Id$
|
||||
|
||||
@ -58,8 +58,8 @@ syn match xmlError "[<&]"
|
||||
"
|
||||
" <tag foo.attribute = "value">
|
||||
" ^^^^^^^
|
||||
syn region xmlString contained start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=xmlEntity display
|
||||
syn region xmlString contained start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=xmlEntity display
|
||||
syn region xmlString contained start=+"+ end=+"+ contains=xmlEntity display
|
||||
syn region xmlString contained start=+'+ end=+'+ contains=xmlEntity display
|
||||
|
||||
|
||||
" punctuation (within attributes) e.g. <tag xml:foo.attribute ...>
|
||||
@ -233,7 +233,7 @@ else
|
||||
|
||||
endif
|
||||
|
||||
syn keyword xmlTodo contained TODO FIXME XXX display
|
||||
syn keyword xmlTodo contained TODO FIXME XXX
|
||||
syn match xmlCommentError contained "[^><!]"
|
||||
syn region xmlCommentPart
|
||||
\ start=+--+
|
||||
|
||||
Reference in New Issue
Block a user