annotate runtime/syntax/cs.vim @ 31383:15c80d8bc515

Update runtime files Commit: https://github.com/vim/vim/commit/86b4816766d976a7ecd4403eca1f8bf6b4105800 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 6 18:20:10 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Dec 2022 19:30:06 +0100
parents c58baa6d6dda
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
2 " Language: C#
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
3 " Maintainer: Nick Jensen <nickspoon@gmail.com>
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
4 " Former Maintainers: Anduin Withers <awithers@anduin.com>
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
5 " Johannes Zellner <johannes@zellner.org>
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
6 " Last Change: 2022-11-16
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
7 " Filenames: *.cs
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
8 " License: Vim (see :h license)
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
9 " Repository: https://github.com/nickspoons/vim-cs
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
11 " References:
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
12 " - ECMA-334 5th Edition: C# Language Specification
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
13 " https://www.ecma-international.org/publications-and-standards/standards/ecma-334/
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
14 " - C# Language Design: Draft 6th Edition and later proposals
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
15 " https://github.com/dotnet/csharplang
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
17 if exists('b:current_syntax')
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
18 finish
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
21 let s:save_cpo = &cpoptions
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
22 set cpoptions&vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
24 syn keyword csType bool byte char decimal double float int long object sbyte short string T uint ulong ushort var void dynamic
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
25 syn keyword csType nint nuint " contextual
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
26
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
27 syn keyword csStorage enum interface namespace struct
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
28 syn match csStorage "\<record\ze\_s\+@\=\h\w*\_s*[<(:{;]"
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
29 syn match csStorage "\%(\<\%(partial\|new\|public\|protected\|internal\|private\|abstract\|sealed\|static\|unsafe\|readonly\)\)\@9<=\_s\+record\>"
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
30 syn match csStorage "\<record\ze\_s\+\%(class\|struct\)"
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
31 syn match csStorage "\<delegate\>"
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
32 syn keyword csRepeat break continue do for foreach goto return while
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
33 syn keyword csConditional else if switch
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
34 syn keyword csLabel case default
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
35
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
36 syn match csNamespaceAlias "@\=\h\w*\ze\_s*::" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
37 syn match csGlobalNamespaceAlias "global\ze\_s*::" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
38 syn cluster csNamespaceAlias contains=csGlobalNamespaceAlias,csNamespaceAlias,csNamespaceAliasQualifier
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
39
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
40 " user labels
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19303
diff changeset
41 syn match csLabel display +^\s*\I\i*\s*:\%([^:]\)\@=+
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
42
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
43 " Function pointers
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
44 syn match csType "\<delegate\s*\*" contains=csOpSymbols nextgroup=csManagedModifier skipwhite skipempty
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
45 syn keyword csManagedModifier managed unmanaged contained
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
46
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
47 " Modifiers
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
48 syn match csUsingModifier "\<global\ze\_s\+using\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
49 syn keyword csAccessModifier internal private protected public
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
50 syn keyword csModifier operator nextgroup=csCheckedModifier skipwhite skipempty
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
51 syn keyword csCheckedModifier checked contained
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
52
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
53 " TODO: in new out
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
54 syn keyword csModifier abstract const event override readonly sealed static virtual volatile
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
55 syn match csModifier "\<\%(extern\|fixed\|unsafe\)\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
56 syn match csModifier "\<partial\ze\_s\+\%(class\|struct\|interface\|record\|void\)\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
57
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
58 syn keyword csException try catch finally throw when
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
59 syn keyword csLinq ascending by descending equals from group in into join let on orderby select
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
60 syn match csLinq "\<where\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
61
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
62 " Type parameter constraint clause
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
63 syn match csStorage "\<where\>\ze\_s\+@\=\h\w*\_s*:"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
64
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
65 " Async
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
66 syn keyword csAsyncModifier async
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
67 syn keyword csAsyncOperator await
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
68
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
69 syn match csStorage "\<extern\ze\s\+alias\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
70 syn match csStorage "\%(\<extern\s\+\)\@16<=alias\>"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
72 syn match csStatement "\<\%(checked\|unchecked\|unsafe\)\ze\_s*{"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
73 syn match csStatement "\<fixed\ze\_s*("
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
74 syn keyword csStatement lock
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
75 syn match csStatement "\<yield\ze\_s\+\%(return\|break\)\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
76
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
77 syn match csAccessor "\<\%(get\|set\|init\|add\|remove\)\ze\_s*\%([;{]\|=>\)"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
78
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
79 syn keyword csAccess base
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
80 syn match csAccess "\<this\>"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
81
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
82 " Extension method parameter modifier
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
83 syn match csModifier "\<this\ze\_s\+@\=\h"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
84
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
85 syn keyword csUnspecifiedStatement as in is nameof out params ref sizeof stackalloc using
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
86 syn keyword csUnsupportedStatement value
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
87 syn keyword csUnspecifiedKeyword explicit implicit
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
89 " Operators
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
90 syn keyword csTypeOf typeof nextgroup=csTypeOfOperand,csTypeOfError skipwhite skipempty
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
91 syn region csTypeOfOperand matchgroup=csParens start="(" end=")" contained contains=csType
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
92 syn match csTypeOfError "[^([:space:]]" contained
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
93 syn match csKeywordOperator "\<\%(checked\|unchecked\)\ze\_s*("
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
94
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
95 " Punctuation
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
96 syn match csBraces "[{}[\]]" display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
97 syn match csParens "[()]" display
17667
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
98 syn match csOpSymbols "+\{1,2}" display
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
99 syn match csOpSymbols "-\{1,2}" display
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
100 syn match csOpSymbols "=\{1,2}" display
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
101 syn match csOpSymbols ">\{1,2}" display
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
102 syn match csOpSymbols "<\{1,2}" display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
103 syn match csOpSymbols "[!><+\-*/]=" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
104 syn match csOpSymbols "[!*/^]" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
105 syn match csOpSymbols "=>" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
106 syn match csEndColon ";" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
107 syn match csLogicSymbols "&&" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
108 syn match csLogicSymbols "||" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
109 syn match csLogicSymbols "?" display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
110 syn match csLogicSymbols ":" display
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
111 syn match csNamespaceAliasQualifier "::" display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112
17667
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
113 " Generics
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
114 syn region csGeneric matchgroup=csGenericBraces start="<" end=">" oneline contains=csType,csGeneric,@csNamespaceAlias,csUserType,csUserIdentifier,csUserInterface,csUserMethod
17667
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
115
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 " Comments
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 " PROVIDES: @csCommentHook
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
119 syn keyword csTodo contained TODO FIXME XXX NOTE HACK TBD
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
120 syn region csBlockComment start="/\*" end="\*/" contains=@csCommentHook,csTodo,@Spell
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
121 syn match csLineComment "//.*$" contains=@csCommentHook,csTodo,@Spell
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
122 syn cluster csComment contains=csLineComment,csBlockComment
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
123
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
124 syn region csSummary start="^\s*/// <summary" end="^\%\(\s*///\)\@!" transparent fold keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
125
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
126 " xml markup inside '///' and /**...*/ comments
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
127 syn cluster xmlRegionHook add=csXmlLineCommentLeader,csXmlBlockCommentMiddle
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
128 syn cluster xmlCdataHook add=csXmlLineCommentLeader,csXmlBlockCommentMiddle
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
129 syn cluster xmlStartTagHook add=csXmlLineCommentLeader,csXmlBlockCommentMiddle
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
130 syn cluster xmlTagHook add=csXmlTag
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
131 syn cluster xmlAttribHook add=csXmlAttrib
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
133 " https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/xmldoc/recommended-tags
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
134 syn keyword csXmlTag contained summary remarks
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
135 syn keyword csXmlTag contained returns param paramref exception value
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
136 syn keyword csXmlTag contained para list c code example
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
137 syn keyword csXmlTag contained inheritdoc include
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
138 syn keyword csXmlTag contained see seealso
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
139 syn keyword csXmlTag contained typeparam typeparamref
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
140 syn keyword csXmlTag contained b i u br a
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
141 syn keyword csXmlAttrib contained cref href
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
143 syn match csXmlLineCommentLeader "///" contained
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
144 syn match csXmlLineComment "///.*$" contains=csXmlLineCommentLeader,@csXml,@Spell keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
145 syn match csXmlBlockCommentMiddle "^\s*\zs\*" contained
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
146 syn region csXmlBlockComment start="/\*\*" end="\*/" contains=@csXml,@Spell,csXmlBlockCommentMiddle keepend
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
147 syn include @csXml syntax/xml.vim
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
148 hi def link xmlRegion Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
19303
51bc26d4a393 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17667
diff changeset
150 " Since syntax/xml.vim contains `syn spell toplevel`, we need to set it back to `default` here.
51bc26d4a393 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17667
diff changeset
151 syn spell default
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
153 " Pre-processing directives
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
154 syn region csPreProcDeclaration start="^\s*\zs#\s*\%(define\|undef\)\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
155 syn region csPreProcConditional start="^\s*\zs#\s*\%(if\|elif\)\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
156 syn region csPreProcConditional start="^\s*\zs#\s*\%(else\|endif\)\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
157 syn region csPreProcLine start="^\s*\zs#\s*line\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
158 syn region csPreProcDiagnostic start="^\s*\zs#\s*\%(error\|warning\)\>" end="$"
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
159 syn region csPreProcConditionalSection matchgroup=csPreProcRegion start="^\s*#\s*region\>.*" end="^\s*#\s*endregion\>.*" transparent fold contains=TOP
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
160 syn region csPreProcPragma start="^\s*\zs#\s*pragma\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
161 syn region csPreProcNullable start="^\s*\zs#\s*nullable\>" end="$" contains=csLineComment keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
163 if expand('%:e') == 'csx' || getline('1') =~ '^#!.*\<dotnet-script\>'
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
164 syn region csPreProcInclude start="^\s*\zs#\s*\%(load\|r\)\>" end="$" contains=csLineComment keepend
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
165 syn match csShebang "\%^#!.*" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
166 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
168 syn cluster csPreProcessor contains=csPreProc.*
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
169
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
170 syn region csClassType start="\<class\>"hs=s+6 end=">" end="[:{]"me=e-1 contains=csClass
17667
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
171 " csUserType may be defined by user scripts/plugins - it should be contained in csNewType
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
172 syn region csNewType start="\<new\>"hs=s+4 end="[;\n{(<\[]"me=e-1 contains=csNew,@csNamespaceAlias,csUserType
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
173 syn region csIsType start=" is "hs=s+4 end="[A-Za-z0-9]\+" oneline contains=csIsAs
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
174 syn region csIsType start=" as "hs=s+4 end="[A-Za-z0-9]\+" oneline contains=csIsAs
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
175 syn keyword csNew new contained
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
176 syn keyword csClass class contained
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
177 syn keyword csIsAs is as
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
179 syn keyword csBoolean false true
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
180 syn keyword csNull null
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
181
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " Strings and constants
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
183 syn match csSpecialError "\\." contained
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
184 syn match csSpecialCharError "[^']" contained
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
185 " Character literals
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
186 syn match csSpecialChar +\\["\\'0abfnrtv]+ contained display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
187 syn match csUnicodeNumber +\\x\x\{1,4}+ contained contains=csUnicodeSpecifier display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
188 syn match csUnicodeNumber +\\u\x\{4}+ contained contains=csUnicodeSpecifier display
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
189 syn match csUnicodeNumber +\\U00\x\{6}+ contained contains=csUnicodeSpecifier display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
190 syn match csUnicodeSpecifier +\\[uUx]+ contained display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
191
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
192 syn region csString matchgroup=csQuote start=+"+ end=+"\%(u8\)\=+ end=+$+ extend contains=csSpecialChar,csSpecialError,csUnicodeNumber,@Spell
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19303
diff changeset
193 syn match csCharacter "'[^']*'" contains=csSpecialChar,csSpecialCharError,csUnicodeNumber display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
194 syn match csCharacter "'\\''" contains=csSpecialChar display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
195 syn match csCharacter "'[^\\]'" display
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
196
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
197 " Numbers
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
198 syn case ignore
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
199 syn match csInteger "\<0b[01_]*[01]\%([lu]\|lu\|ul\)\=\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
200 syn match csInteger "\<\d\+\%(_\+\d\+\)*\%([lu]\|lu\|ul\)\=\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
201 syn match csInteger "\<0x[[:xdigit:]_]*\x\%([lu]\|lu\|ul\)\=\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
202 syn match csReal "\<\d\+\%(_\+\d\+\)*\.\d\+\%(_\+\d\+\)*\%\(e[-+]\=\d\+\%(_\+\d\+\)*\)\=[fdm]\=" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
203 syn match csReal "\.\d\+\%(_\+\d\+\)*\%(e[-+]\=\d\+\%(_\+\d\+\)*\)\=[fdm]\=\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
204 syn match csReal "\<\d\+\%(_\+\d\+\)*e[-+]\=\d\+\%(_\+\d\+\)*[fdm]\=\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
205 syn match csReal "\<\d\+\%(_\+\d\+\)*[fdm]\>" display
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
206 syn case match
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
207 syn cluster csNumber contains=csInteger,csReal
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
208
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
209 syn region csInterpolatedString matchgroup=csQuote start=+\$"+ end=+"\%(u8\)\=+ extend contains=csInterpolation,csEscapedInterpolation,csSpecialChar,csSpecialError,csUnicodeNumber,@Spell
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
210
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19303
diff changeset
211 syn region csInterpolation matchgroup=csInterpolationDelimiter start=+{+ end=+}+ keepend contained contains=@csAll,csBraced,csBracketed,csInterpolationAlign,csInterpolationFormat
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
212 syn match csEscapedInterpolation "{{" transparent contains=NONE display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
213 syn match csEscapedInterpolation "}}" transparent contains=NONE display
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
214 syn region csInterpolationAlign matchgroup=csInterpolationAlignDel start=+,+ end=+}+ end=+:+me=e-1 contained contains=@csNumber,csBoolean,csConstant,csCharacter,csParens,csOpSymbols,csString,csBracketed display
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
215 syn match csInterpolationFormat +:[^}]\+}+ contained contains=csInterpolationFormatDel display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
216 syn match csInterpolationAlignDel +,+ contained display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
217 syn match csInterpolationFormatDel +:+ contained display
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
218
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
219 syn region csVerbatimString matchgroup=csQuote start=+@"+ end=+"\%(u8\)\=+ skip=+""+ extend contains=csVerbatimQuote,@Spell
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
220 syn match csVerbatimQuote +""+ contained
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
221
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
222 syn region csInterVerbString matchgroup=csQuote start=+$@"+ start=+@$"+ end=+"\%(u8\)\=+ skip=+""+ extend contains=csInterpolation,csEscapedInterpolation,csSpecialChar,csSpecialError,csUnicodeNumber,csVerbatimQuote,@Spell
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
223
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
224 syn cluster csString contains=csString,csInterpolatedString,csVerbatimString,csInterVerbString
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
225
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
226 syn cluster csLiteral contains=csBoolean,@csNumber,csCharacter,@csString,csNull
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
227
23047
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19303
diff changeset
228 syn region csBracketed matchgroup=csParens start=+(+ end=+)+ extend contained transparent contains=@csAll,csBraced,csBracketed
29c5f168c6fd Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 19303
diff changeset
229 syn region csBraced matchgroup=csParens start=+{+ end=+}+ extend contained transparent contains=@csAll,csBraced,csBracketed
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
230
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
231 syn cluster csAll contains=@csLiteral,csClassType,@csComment,csEndColon,csIsType,csLabel,csLogicSymbols,csNewType,csOpSymbols,csParens,@csPreProcessor,csSummary,@csNamespaceAlias,csType,csUnicodeNumber,csUserType,csUserIdentifier,csUserInterface,csUserMethod
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
232
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
233 " Keyword identifiers
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
234 syn match csIdentifier "@\h\w*"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 " The default highlighting.
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
237 hi def link csUnspecifiedStatement Statement
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
238 hi def link csUnsupportedStatement Statement
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
239 hi def link csUnspecifiedKeyword Keyword
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
240
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
241 hi def link csGlobalNamespaceAlias Include
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
242
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
243 hi def link csType Type
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
244 hi def link csClassType Type
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
245 hi def link csIsType Type
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
246
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
247 hi def link csStorage Structure
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
248 hi def link csClass Structure
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
249 hi def link csNew Statement
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
250 hi def link csIsAs Keyword
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
251 hi def link csAccessor Keyword
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
252 hi def link csAccess Keyword
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
253
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
254 hi def link csLinq Statement
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
255
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
256 hi def link csStatement Statement
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
257 hi def link csRepeat Repeat
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
258 hi def link csConditional Conditional
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
259 hi def link csLabel Label
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
260 hi def link csException Exception
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
261
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
262 hi def link csModifier StorageClass
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
263 hi def link csAccessModifier csModifier
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
264 hi def link csAsyncModifier csModifier
31383
15c80d8bc515 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29104
diff changeset
265 hi def link csCheckedModifier csModifier
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
266 hi def link csManagedModifier csModifier
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
267 hi def link csUsingModifier csModifier
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
268
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
269 hi def link csTodo Todo
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
270 hi def link csComment Comment
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
271 hi def link csLineComment csComment
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
272 hi def link csBlockComment csComment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
274 hi def link csKeywordOperator Keyword
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
275 hi def link csAsyncOperator csKeywordOperator
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
276 hi def link csTypeOf csKeywordOperator
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
277 hi def link csTypeOfOperand Typedef
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
278 hi def link csTypeOfError Error
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
279 hi def link csOpSymbols Operator
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
280 hi def link csLogicSymbols Operator
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
282 hi def link csSpecialError Error
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
283 hi def link csSpecialCharError Error
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
284 hi def link csString String
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
285 hi def link csQuote String
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
286 hi def link csInterpolatedString String
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
287 hi def link csVerbatimString String
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
288 hi def link csInterVerbString String
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
289 hi def link csVerbatimQuote SpecialChar
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
290
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
291 hi def link csPreProc PreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
292 hi def link csPreProcDeclaration Define
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
293 hi def link csPreProcConditional PreCondit
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
294 hi def link csPreProcLine csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
295 hi def link csPreProcDiagnostic csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
296 hi def link csPreProcRegion csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
297 hi def link csPreProcPragma csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
298 hi def link csPreProcNullable csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
299 hi def link csPreProcInclude csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
300 hi def link csShebang csPreProc
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
301
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
302 hi def link csConstant Constant
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
303 hi def link csNull Constant
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
304 hi def link csBoolean Boolean
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
305 hi def link csCharacter Character
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
306 hi def link csSpecialChar SpecialChar
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
307 hi def link csInteger Number
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
308 hi def link csReal Float
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
309 hi def link csUnicodeNumber SpecialChar
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
310 hi def link csUnicodeSpecifier SpecialChar
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
311 hi def link csInterpolationDelimiter Delimiter
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
312 hi def link csInterpolationAlignDel csInterpolationDelimiter
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
313 hi def link csInterpolationFormat csInterpolationDelimiter
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
314 hi def link csInterpolationFormatDel csInterpolationDelimiter
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315
17667
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
316 hi def link csGenericBraces csBraces
95c23e180022 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15131
diff changeset
317
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 " xml markup
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
319 hi def link csXmlLineCommentLeader Comment
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
320 hi def link csXmlLineComment Comment
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
321 hi def link csXmlBlockComment Comment
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
322 hi def link csXmlBlockCommentMiddle csXmlBlockComment
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
323 hi def link csXmlTag Statement
29104
c58baa6d6dda Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23047
diff changeset
324 hi def link csXmlAttrib Statement
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
326 let b:current_syntax = 'cs'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327
15131
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
328 let &cpoptions = s:save_cpo
bc1a8d21c811 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 14372
diff changeset
329 unlet s:save_cpo
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13857
diff changeset
331 " vim: vts=16,28