comparison runtime/syntax/sas.vim @ 48:67300faee616 v7-3-618

v7-3-618
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 01 Aug 2012 18:08:28 +0900
parents e170173ecb68
children
comparison
equal deleted inserted replaced
47:6c0584ec21b1 48:67300faee616
1 " Vim syntax file 1 " Vim syntax file
2 " Language: SAS 2 " Language: SAS
3 " Maintainer: James Kidd <james.kidd@covance.com> 3 " Maintainer: James Kidd <james.kidd@covance.com>
4 " Last Change: 18 Jul 2008 by Paulo Tanimoto <ptanimoto@gmail.com> 4 " Last Change: 2012 Apr 20
5 " Corrected bug causing some keywords to appear as strings instead
6 " 18 Jul 2008 by Paulo Tanimoto <ptanimoto@gmail.com>
5 " Fixed comments with * taking multiple lines. 7 " Fixed comments with * taking multiple lines.
6 " Fixed highlighting of macro keywords. 8 " Fixed highlighting of macro keywords.
7 " Added words to cases that didn't fit anywhere. 9 " Added words to cases that didn't fit anywhere.
8 " 02 Jun 2003 10 " 02 Jun 2003
9 " Added highlighting for additional keywords and such; 11 " Added highlighting for additional keywords and such;
209 " Always contained in a comment (Bob Heckel) 211 " Always contained in a comment (Bob Heckel)
210 syn keyword sasTodo TODO TBD FIXME contained 212 syn keyword sasTodo TODO TBD FIXME contained
211 213
212 " These don't fit anywhere else (Bob Heckel). 214 " These don't fit anywhere else (Bob Heckel).
213 " Added others that were missing. 215 " Added others that were missing.
214 syn match sasUnderscore "_ALL_" 216 syn keyword sasUnderscore _ALL_ _AUTOMATIC_ _CHARACTER_ _INFILE_ _N_ _NAME_ _NULL_ _NUMERIC_ _USER_ _WEBOUT_
215 syn match sasUnderscore "_AUTOMATIC_"
216 syn match sasUnderscore "_CHARACTER_"
217 syn match sasUnderscore "_INFILE_"
218 syn match sasUnderscore "_N_"
219 syn match sasUnderscore "_NAME_"
220 syn match sasUnderscore "_NULL_"
221 syn match sasUnderscore "_NUMERIC_"
222 syn match sasUnderscore "_USER_"
223 syn match sasUnderscore "_WEBOUT_"
224 217
225 " End of SAS Functions 218 " End of SAS Functions
226 219
227 " Define the default highlighting. 220 " Define the default highlighting.
228 " For version 5.7 and earlier: only when not done already 221 " For version 5.7 and earlier: only when not done already