~vibhavp/ubuntu/raring/spl/merge-from-debian

« back to all changes in this revision

Viewing changes to syntax-spl.vim

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2006-08-21 08:21:06 UTC
  • mto: (3.1.1 lenny)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20060821082106-6glercj8mn0un53l
Tags: upstream-1.0~pre2
ImportĀ upstreamĀ versionĀ 1.0~pre2

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
\ try catch throw switch default case lengthof elementsof
50
50
 
51
51
" Variables, functions and methods
52
 
syntax match Identifier "[a-zA-Z0-9_.]\+"
 
52
" identifiers which are in no way special aren't highlighted
 
53
syntax match NormalIdentifier "[a-zA-Z0-9_.]\+"
53
54
syntax match Identifier "\$<[a-zA-Z0-9_.]\+>"
54
55
syntax match Identifier "\$[0-9[\]#@$+-]"
55
56
 
140
141
 
141
142
" Explicit list of Top Level elements (contains=TOP breaks syntax-spltpl.vim)
142
143
" egrep 'syntax (keyword|match|region)' syntax-spl.vim | grep -v contained | cut -f3 -d' ' | sort -u
143
 
syntax cluster SplTopLevel contains=Block,Comment,Constant,Identifier,PreProc,SpecialComment,SplTags1,Statement,Type
 
144
syntax cluster SplTopLevel contains=Block,Comment,Constant,NormalIdentifier,Identifier,PreProc,SpecialComment,SplTags1,Statement,Type
144
145
 
145
146
" Burn many CPU cycles for syncing
146
147
syntax sync fromstart