diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-04-25 22:13:59 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-04-25 22:13:59 +0000 |
commit | 551dbcc9b604c2992f908fb475e797fcc116315b (patch) | |
tree | d48db26e4f3470df23fdd8e8593bcf067fab4142 /runtime/syntax/cs.vim | |
parent | f9393ef5efde2f425fbd9e19363186f8c9103376 (diff) |
updated for version 7.0f01v7.0f01
Diffstat (limited to 'runtime/syntax/cs.vim')
-rw-r--r-- | runtime/syntax/cs.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/syntax/cs.vim b/runtime/syntax/cs.vim index 948b12554e..6a61ed261e 100644 --- a/runtime/syntax/cs.vim +++ b/runtime/syntax/cs.vim @@ -1,7 +1,7 @@ " Vim syntax file " Language: C# " Maintainer: Johannes Zellner <johannes@zellner.org> -" Last Change: Mi, 13 Apr 2005 22:52:57 CEST +" Last Change: Mo, 24 Apr 2006 10:11:07 CEST " Filenames: *.cs " $Id$ " @@ -20,7 +20,7 @@ set cpo&vim syn keyword csType bool byte char decimal double float int long object sbyte short string uint ulong ushort void " storage syn keyword csStorage class delegate enum interface namespace struct -" repeate / condition / label +" repeat / condition / label syn keyword csRepeat break continue do for foreach goto return while syn keyword csConditional else if switch syn keyword csLabel case default @@ -51,8 +51,8 @@ syn keyword csUnspecifiedKeyword explicit implicit " TODO: include strings ? " syn keyword csTodo contained TODO FIXME XXX NOTE -syn region csComment start="/\*" end="\*/" contains=@csCommentHook,csTodo -syn match csComment "//.*$" contains=@csCommentHook,csTodo +syn region csComment start="/\*" end="\*/" contains=@csCommentHook,csTodo,@Spell +syn match csComment "//.*$" contains=@csCommentHook,csTodo,@Spell " xml markup inside '///' comments syn cluster xmlRegionHook add=csXmlCommentLeader @@ -92,9 +92,9 @@ 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=+$+ skip=+""+ contains=csVerbatimSpec +syn region csVerbatimString start=+@"+ end=+"+ end=+$+ skip=+""+ contains=csVerbatimSpec,@Spell syn match csVerbatimSpec +@"+he=s+1 contained -syn region csString start=+"+ end=+"+ end=+$+ contains=csSpecialChar,csSpecialError,csUnicodeNumber +syn region csString start=+"+ end=+"+ end=+$+ contains=csSpecialChar,csSpecialError,csUnicodeNumber,@Spell syn match csCharacter "'[^']*'" contains=csSpecialChar,csSpecialCharError syn match csCharacter "'\\''" contains=csSpecialChar syn match csCharacter "'[^\\]'" |