annotate runtime/syntax/tcsh.vim @ 906:039ce9407934 v7.0.032

updated for version 7.0-032
author vimboss
date Fri, 23 Jun 2006 14:44:06 +0000
parents f04f56979d84
children e63691e7c504
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: C-shell (tcsh)
775
f04f56979d84 updated for version 7.0227
vimboss
parents: 376
diff changeset
3 " Maintainor: Gautam Iyer <gautam@math.uchicago.edu>
f04f56979d84 updated for version 7.0227
vimboss
parents: 376
diff changeset
4 " Last Modified: Sat 11 Mar 2006 11:16:47 AM CST
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Description: We break up each statement into a "command" and an "end" part.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " All groups are either a "command" or part of the "end" of a statement (ie
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " everything after the "command"). This is because blindly highlighting tcsh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " statements as keywords caused way too many false positives. Eg:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 "
775
f04f56979d84 updated for version 7.0227
vimboss
parents: 376
diff changeset
11 " set history=200
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " causes history to come up as a keyword, which we want to avoid.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " ----- Clusters -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn cluster tcshModifiers contains=tcshModifier,tcshModifierError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn cluster tcshQuoteList contains=tcshDQuote,tcshSQuote,tcshBQuote
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn cluster tcshStatementEnds contains=@tcshQuoteList,tcshComment,tcshUsrVar,TcshArgv,tcshSubst,tcshRedir,tcshMeta,tcshHereDoc,tcshSpecial,tcshArguement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn cluster tcshStatements contains=tcshBuiltins,tcshCommands,tcshSet,tcshSetEnv,tcshAlias,tcshIf,tcshWhile
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn cluster tcshVarList contains=tcshUsrVar,tcshArgv,tcshSubst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 " ----- Statements -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 " Tcsh commands: Any filename / modifiable variable (must be first!)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match tcshCommands '\v[a-zA-Z0-9\\./_$:-]+' contains=tcshSpecial,tcshUsrVar,tcshArgv,tcshVarError nextgroup=tcshStatementEnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 " Builtin commands except (un)set(env), (un)alias, if, while, else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn keyword tcshBuiltins nextgroup=tcshStatementEnd alloc bg bindkey break breaksw builtins bye case cd chdir complete continue default dirs echo echotc end endif endsw eval exec exit fg filetest foreach getspath getxvers glob goto hashstat history hup inlib jobs kill limit log login logout ls ls-F migrate newgrp nice nohup notify onintr popd printenv pushd rehash repeat rootnode sched setpath setspath settc setty setxvers shift source stop suspend switch telltc time umask uncomplete unhash universe unlimit ver wait warp watchlog where which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 " StatementEnd is anything after a builtin / command till the lexical end of a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 " statement (;, |, ||, |&, && or end of line)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn region tcshStatementEnd transparent contained matchgroup=tcshBuiltins start='' end='\v\\@<!(;|\|[|&]?|\&\&|$)' contains=@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " set expressions (Contains shell variables)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn keyword tcshShellVar contained afsuser ampm argv autocorrect autoexpand autolist autologout backslash_quote catalog cdpath color colorcat command complete continue continue_args correct cwd dextract dirsfile dirstack dspmbyte dunique echo echo_style edit ellipsis fignore filec gid group histchars histdup histfile histlit history home ignoreeof implicitcd inputmode killdup killring listflags listjobs listlinks listmax listmaxrows loginsh logout mail matchbeep nobeep noclobber noding noglob nokanji nonomatch nostat notify oid owd path printexitvalue prompt prompt2 prompt3 promptchars pushdtohome pushdsilent recexact recognize_only_executables rmstar rprompt savedirs savehist sched shell shlvl status symlinks tcsh term time tperiod tty uid user verbose version visiblebell watch who wordchars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn keyword tcshSet nextgroup=tcshSetEnd set unset
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn region tcshSetEnd contained transparent matchgroup=tcshBuiltins start='' skip="\\$" end="$\|;" contains=tcshShellVar,@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 " setenv expressions (Contains enviorenment variables)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn keyword tcshEnvVar contained AFSUSER COLUMNS DISPLAY EDITOR GROUP HOME HOST HOSTTYPE HPATH LANG LC_CTYPE LINES LS_COLORS MACHTYPE NOREBIND OSTYPE PATH PWD REMOTEHOST SHLVL SYSTYPE TERM TERMCAP USER VENDOR VISUAL
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn keyword tcshSetEnv nextgroup=tcshEnvEnd setenv unsetenv
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn region tcshEnvEnd contained transparent matchgroup=tcshBuiltins start='' skip="\\$" end="$\|;" contains=tcshEnvVar,@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 " alias and unalias (contains special aliases)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn keyword tcshAliases contained beemcmd cwdcmd jobcmd helpcommand periodic precmd postcmd shell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn keyword tcshAlias nextgroup=tcshAliEnd alias unalias
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 syn region tcshAliEnd contained transparent matchgroup=tcshBuiltins start='' skip="\\$" end="$\|;" contains=tcshAliases,@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 " if statements (contains expressions / operators)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn keyword tcshIf nextgroup=tcshIfEnd if
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn region tcshIfEnd contained matchgroup=tcshBuiltins start='' skip="\\$" end="\v<then>|$" contains=tcshOperator,tcshNumber,@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 " else statements (nextgroup if)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn keyword tcshElse nextgroup=tcshIf skipwhite else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 " while statements (contains expressions / operators)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn keyword tcshWhile nextgroup=tcshWhEnd while
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn region tcshWhEnd contained transparent matchgroup=tcshBuiltins start='' skip="\\$" end="\v$" contains=tcshOperator,tcshNumber,@tcshStatementEnds
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " Expressions start with @.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match tcshExprStart "\v\@\s+" nextgroup=tcshExprVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68 syn match tcshExprVar contained "\v\h\w*%(\[\d+\])?" contains=tcshShellVar,tcshEnvVar nextgroup=tcshExprOp
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 syn match tcshExprOp contained "++\|--"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70 syn match tcshExprOp contained "\v\s*\=" nextgroup=tcshExprEnd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 syn match tcshExprEnd contained "\v.*$"hs=e+1 contains=tcshOperator,tcshNumber,@tcshVarList
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72 syn match tcshExprEnd contained "\v.{-};"hs=e contains=tcshOperator,tcshNumber,@tcshVarList
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74 " ----- Comments: -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
75 syn match tcshComment "#.*" contains=tcshTodo,tcshCommentTi,tcshCommentSp,@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 syn match tcshSharpBang "^#! .*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77 syn match tcshCommentTi contained '\v#\s*\u\w*(\s+\u\w*)*:'hs=s+1 contains=tcshTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 syn match tcshCommentSp contained '\v<\u{3,}>' contains=tcshTodo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 syn match tcshTodo contained '\v\c<todo>'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 " ----- Strings -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 " Tcsh does not allow \" in strings unless the "backslash_quote" shell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 " variable is set. Set the vim variable "tcsh_backslash_quote" to 0 if you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 " want VIM to assume that no backslash quote constructs exist.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 " Backquotes are treated as commands, and are not contained in anything
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 if(exists("tcsh_backslash_quote") && tcsh_backslash_quote == 0)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 syn region tcshSQuote keepend contained start="\v\\@<!'" end="'" contains=@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 syn region tcshDQuote keepend contained start='\v\\@<!"' end='"' contains=@tcshVarList,tcshSpecial,@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
90 syn region tcshBQuote keepend start='\v\\@<!`' end='`' contains=@tcshStatements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
91 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 syn region tcshSQuote contained start="\v\\@<!'" skip="\v\\\\|\\'" end="'" contains=@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 syn region tcshDQuote contained start='\v\\@<!"' end='"' contains=@tcshVarList,tcshSpecial,@Spell
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 syn region tcshBQuote keepend matchgroup=tcshBQuoteGrp start='\v\\@<!`' skip='\v\\\\|\\`' end='`' contains=@tcshStatements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
95 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97 " ----- Variables -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
98 " Variable Errors. Must come first! \$ constructs will be flagged by
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 " tcshSpecial, so we don't consider them here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 syn match tcshVarError '\v\$\S*' contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
102 " Modifiable Variables without {}.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103 syn match tcshUsrVar contained "\v\$\h\w*%(\[\d+%(-\d+)?\])?" nextgroup=@tcshModifiers contains=tcshShellVar,tcshEnvVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 syn match tcshArgv contained "\v\$%(\d+|\*)" nextgroup=@tcshModifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 " Modifiable Variables with {}.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107 syn match tcshUsrVar contained "\v\$\{\h\w*%(\[\d+%(-\d+)?\])?%(:\S*)?\}" contains=@tcshModifiers,tcshShellVar,tcshEnvVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 syn match tcshArgv contained "\v\$\{%(\d+|\*)%(:\S*)?\}" contains=@tcshModifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
110 " UnModifiable Substitutions. Order is important here.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 syn match tcshSubst contained "\v\$[?#$!_<]" nextgroup=tcshModifierError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 syn match tcshSubst contained "\v\$[%#?]%(\h\w*|\d+)" nextgroup=tcshModifierError contains=tcshShellVar,tcshEnvVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113 syn match tcshSubst contained "\v\$\{[%#?]%(\h\w*|\d+)%(:\S*)?\}" contains=tcshModifierError contains=tcshShellVar,tcshEnvVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 " Variable Name Expansion Modifiers (order important)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
116 syn match tcshModifierError contained '\v:\S*'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 syn match tcshModifier contained '\v:[ag]?[htreuls&qx]' nextgroup=@tcshModifiers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 " ----- Operators / Specials -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120 " Standard redirects (except <<) [<, >, >>, >>&, >>!, >>&!]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 syn match tcshRedir contained "\v\<|\>\>?\&?!?"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
122
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123 " Metachars
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 syn match tcshMeta contained "\v[]{}*?[]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126 " Here Documents (<<)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
127 syn region tcshHereDoc contained matchgroup=tcshRedir start="\v\<\<\s*\z(\h\w*)" end="^\z1$" contains=@tcshVarList,tcshSpecial
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
128 syn region tcshHereDoc contained matchgroup=tcshRedir start="\v\<\<\s*'\z(\h\w*)'" start='\v\<\<\s*"\z(\h\w*)"$' start="\v\<\<\s*\\\z(\h\w*)$" end="^\z1$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130 " Operators
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
131 syn match tcshOperator contained "&&\|!\~\|!=\|<<\|<=\|==\|=\~\|>=\|>>\|\*\|\^\|\~\|||\|!\|%\|&\|+\|-\|/\|<\|>\||"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 syn match tcshOperator contained "[(){}]"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
134 " Numbers
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
135 syn match tcshNumber contained "\v<-?\d+>"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
136
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137 " Arguements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
138 syn match tcshArguement contained "\v\s@<=-(\w|-)*"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 " Special charectors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141 syn match tcshSpecial contained "\v\\@<!\\(\d{3}|.)"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
142
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 " ----- Syncronising -----
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144 if exists("tcsh_minlines")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
145 exec "syn sync minlines=" . tcsh_minlines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147 syn sync minlines=15 " Except 'here' documents, nothing is long
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
148 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150 " Define highlighting of syntax groups
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 hi def link tcshBuiltins statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 hi def link tcshShellVar preproc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153 hi def link tcshEnvVar tcshShellVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
154 hi def link tcshAliases tcshShellVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 hi def link tcshCommands identifier
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 hi def link tcshSet tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 hi def link tcshSetEnv tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 hi def link tcshAlias tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 hi def link tcshIf tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160 hi def link tcshElse tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
161 hi def link tcshWhile tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162 hi def link tcshExprStart tcshBuiltins
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163 hi def link tcshExprVar tcshUsrVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
164 hi def link tcshExprOp tcshOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
165 hi def link tcshExprEnd tcshOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166 hi def link tcshComment comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 hi def link tcshCommentTi preproc
775
f04f56979d84 updated for version 7.0227
vimboss
parents: 376
diff changeset
168 hi def link tcshCommentSp tcshCommentTi
f04f56979d84 updated for version 7.0227
vimboss
parents: 376
diff changeset
169 hi def link tcshSharpBang tcshCommentTi
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 hi def link tcshTodo todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 hi def link tcshSQuote constant
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172 hi def link tcshDQuote tcshSQuote
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 hi def link tcshBQuoteGrp include
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 hi def link tcshVarError error
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 hi def link tcshUsrVar type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 hi def link tcshArgv tcshUsrVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 hi def link tcshSubst tcshUsrVar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178 hi def link tcshModifier tcshArguement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 hi def link tcshModifierError tcshVarError
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 hi def link tcshMeta tcshSubst
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 hi def link tcshRedir tcshOperator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 hi def link tcshHereDoc tcshSQuote
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 hi def link tcshOperator operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 hi def link tcshNumber number
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 hi def link tcshArguement special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186 hi def link tcshSpecial specialchar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188 let b:current_syntax = "tcsh"