annotate runtime/syntax/csp.vim @ 34232:47385c831d92 v9.1.0061

patch 9.1.0061: UX of visual highlighting can be improved Commit: https://github.com/vim/vim/commit/e6d8b4662ddf9356da53f56e363b67b524fd8825 Author: Christian Brabandt <cb@256bit.org> Date: Sun Jan 28 23:33:29 2024 +0100 patch 9.1.0061: UX of visual highlighting can be improved Problem: UX of visual highlighting can be improved Solution: Improve readibility of visual highlighting, by setting better foreground and background colors The default visual highlighting currently is nice in that it overlays the actual syntax highlighting by using a separate distinct background color. However, this can cause hard to read text, because the contrast between the actual syntax element and the background color is way too low. That is an issue, that has been bothering colorschemes authors for quite some time so much, that they are defining the Visual highlighting group to use a separate foreground and background color, so that the syntax highlighting vanishes, but the text remains readable (ref: vim/colorschemes#250) So this is an attempt to perform the same fix for the default Visual highlighting and just use a default foreground and background color instead of using reverse. I also removed the hard-coded changes to the Visual highlighting in init_highlight. It's not quite clear to me, why those were there and not added directly to the highlighting_init_<dark|light> struct. closes: #13663 related: vim/colorschemes#250 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Jan 2024 23:39:23 +0100
parents 46763b01cd9a
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: CSP (Communication Sequential Processes, using FDR input syntax)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Jan Bredereke <brederek@tzi.de>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Version: 0.6.0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Last change: Mon Mar 25, 2002
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " URL: http://www.tzi.de/~brederek/vim/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Copying: You may distribute and use this file freely, in the same
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " way as the vim editor itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " To Do: - Probably I missed some keywords or operators, please
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " fix them and notify me, the maintainer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " - Currently, we do lexical highlighting only. It would be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " nice to have more actual syntax checks, including
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " highlighting of wrong syntax.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " - The additional syntax for the RT-Tester (pseudo-comments)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " should be optional.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
18 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
19 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " case is significant to FDR:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " Block comments in CSP are between {- and -}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn region cspComment start="{-" end="-}" contains=cspTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " Single-line comments start with --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn region cspComment start="--" end="$" contains=cspTodo,cspOldRttComment,cspSdlRttComment keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 " Numbers:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match cspNumber "\<\d\+\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 " Conditionals:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn keyword cspConditional if then else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " Operators on processes:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 " -> ? : ! ' ; /\ \ [] |~| [> & [[..<-..]] ||| [|..|] || [..<->..] ; : @ |||
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 syn match cspOperator "->"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 syn match cspOperator "/\\"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match cspOperator "[^/]\\"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match cspOperator "\[\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match cspOperator "|\~|"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match cspOperator "\[>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match cspOperator "\[\["
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match cspOperator "\]\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match cspOperator "<-"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match cspOperator "|||"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match cspOperator "[^|]||[^|]"lc=1,me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match cspOperator "[^|{\~]|[^|}\~]"lc=1,me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match cspOperator "\[|"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match cspOperator "|\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn match cspOperator "\[[^>]"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match cspOperator "\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match cspOperator "<->"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match cspOperator "[?:!';@]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn match cspOperator "&"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match cspOperator "\."
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 " (not on processes:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 " syn match cspDelimiter "{|"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 " syn match cspDelimiter "|}"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 " syn match cspDelimiter "{[^-|]"me=e-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " syn match cspDelimiter "[^-|]}"lc=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " Keywords:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn keyword cspKeyword length null head tail concat elem
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn keyword cspKeyword union inter diff Union Inter member card
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn keyword cspKeyword empty set Set Seq
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn keyword cspKeyword true false and or not within let
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn keyword cspKeyword nametype datatype diamond normal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn keyword cspKeyword sbisim tau_loop_factor model_compress
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 syn keyword cspKeyword explicate
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 syn match cspKeyword "transparent"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn keyword cspKeyword external chase prioritize
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn keyword cspKeyword channel Events
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn keyword cspKeyword extensions productions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn keyword cspKeyword Bool Int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 " Reserved keywords:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 syn keyword cspReserved attribute embed module subtype
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 " Include:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 syn region cspInclude matchgroup=cspIncludeKeyword start="^include" end="$" keepend contains=cspIncludeArg
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 syn region cspIncludeArg start='\s\+\"' end= '\"\s*' contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 " Assertions:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn keyword cspAssert assert deterministic divergence free deadlock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn keyword cspAssert livelock
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn match cspAssert "\[T="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 syn match cspAssert "\[F="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn match cspAssert "\[FD="
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn match cspAssert "\[FD\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn match cspAssert "\[F\]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 " Types and Sets
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 " (first char a capital, later at least one lower case, no trailing underscore):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 syn match cspType "\<_*[A-Z][A-Z_0-9]*[a-z]\(\|[A-Za-z_0-9]*[A-Za-z0-9]\)\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 " Processes (all upper case, no trailing underscore):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101 " (For identifiers that could be types or sets, too, this second rule set
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " wins.)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match cspProcess "\<[A-Z_][A-Z_0-9]*[A-Z0-9]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match cspProcess "\<[A-Z_]\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 " reserved identifiers for tool output (ending in underscore):
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match cspReservedIdentifier "\<[A-Za-z_][A-Za-z_0-9]*_\>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 " ToDo markers:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 syn match cspTodo "FIXME" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match cspTodo "TODO" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match cspTodo "!!!" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 " RT-Tester pseudo comments:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 " (The now obsolete syntax:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match cspOldRttComment "^--\$\$AM_UNDEF"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match cspOldRttComment "^--\$\$AM_ERROR"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 syn match cspOldRttComment "^--\$\$AM_WARNING"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 syn match cspOldRttComment "^--\$\$AM_SET_TIMER"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 syn match cspOldRttComment "^--\$\$AM_RESET_TIMER"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match cspOldRttComment "^--\$\$AM_ELAPSED_TIMER"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122 syn match cspOldRttComment "^--\$\$AM_OUTPUT"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 syn match cspOldRttComment "^--\$\$AM_INPUT"lc=2 contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 " (The current syntax:)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 syn region cspRttPragma matchgroup=cspRttPragmaKeyword start="^pragma\s\+" end="\s*$" oneline keepend contains=cspRttPragmaArg,cspRttPragmaSdl
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 syn keyword cspRttPragmaArg AM_ERROR AM_WARNING AM_SET_TIMER contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn keyword cspRttPragmaArg AM_RESET_TIMER AM_ELAPSED_TIMER contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn keyword cspRttPragmaArg AM_OUTPUT AM_INPUT AM_INTERNAL contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 " the "SDL_MATCH" extension:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 syn region cspRttPragmaSdl matchgroup=cspRttPragmaKeyword start="SDL_MATCH\s\+" end="\s*$" contains=cspRttPragmaSdlArg contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn keyword cspRttPragmaSdlArg TRANSLATE nextgroup=cspRttPragmaSdlTransName contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn keyword cspRttPragmaSdlArg PARAM SKIP OPTIONAL CHOICE ARRAY nextgroup=cspRttPragmaSdlName contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133 syn match cspRttPragmaSdlName "\s*\S\+\s*" nextgroup=cspRttPragmaSdlTail contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 syn region cspRttPragmaSdlTail start="" end="\s*$" contains=cspRttPragmaSdlTailArg contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn keyword cspRttPragmaSdlTailArg SUBSET_USED DEFAULT_VALUE Present contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136 syn match cspRttPragmaSdlTransName "\s*\w\+\s*" nextgroup=cspRttPragmaSdlTransTail contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 syn region cspRttPragmaSdlTransTail start="" end="\s*$" contains=cspRttPragmaSdlTransTailArg contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn keyword cspRttPragmaSdlTransTailArg sizeof contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 syn match cspRttPragmaSdlTransTailArg "\*" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 syn match cspRttPragmaSdlTransTailArg "(" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match cspRttPragmaSdlTransTailArg ")" contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " temporary syntax extension for commented-out "pragma SDL_MATCH":
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 syn match cspSdlRttComment "pragma\s\+SDL_MATCH\s\+" nextgroup=cspRttPragmaSdlArg contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 syn sync lines=250
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
149 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
151 " The default methods for highlighting. Can be overridden later
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
152 " (For vim version <=5.7, the command groups are defined in
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
153 " $VIMRUNTIME/syntax/synload.vim )
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
154 hi def link cspComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
155 hi def link cspNumber Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
156 hi def link cspConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
157 hi def link cspOperator Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
158 hi def link cspKeyword Keyword
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
159 hi def link cspReserved SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
160 hi def link cspInclude Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
161 hi def link cspIncludeKeyword Include
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
162 hi def link cspIncludeArg Include
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
163 hi def link cspAssert PreCondit
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
164 hi def link cspType Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
165 hi def link cspProcess Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
166 hi def link cspTodo Todo
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
167 hi def link cspOldRttComment Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
168 hi def link cspRttPragmaKeyword Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
169 hi def link cspSdlRttComment Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
170 hi def link cspRttPragmaArg Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
171 hi def link cspRttPragmaSdlArg Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
172 hi def link cspRttPragmaSdlName Default
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
173 hi def link cspRttPragmaSdlTailArg Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
174 hi def link cspRttPragmaSdlTransName Default
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
175 hi def link cspRttPragmaSdlTransTailArg Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
176 hi def link cspReservedIdentifier Error
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
177 " (Currently unused vim method: Debug)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 let b:current_syntax = "csp"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 " vim: ts=8