On Wed, 23 Apr 2003, Jim Freeze wrote: jim- i made a little syntax file for my weekly reports at work, just for fun, at it was pretty darn easy. i can send it to you if you like. if you fire up gvim (or vim) and do a :help syntax, there is a section there describing syntax-file setup. it was a bit tedious to wade through but, like i said, easy to actually do. -a > Hi: > > Sorry for posting off topic, but I have seen some posts > by some bright vim experts here and I was hoping for a > little help. > > I need a syntax file for a simple data file that is of the form: > > # comments start with # > begin_xyzsection > param = value > param = %keyword% > end_xyzsection > > > I would like comments color coded, begn/end color coded, > param and value color coded and %keyword% color coded. > > Is this a trivial task? Or would it take me awhile to > create the syntax file? > > -- > Jim Freeze > ---------- > Nothing astonishes men so much as common sense and plain dealing. > > -- ==================================== | Ara Howard | NOAA Forecast Systems Laboratory | Information and Technology Services | Data Systems Group | R/FST 325 Broadway | Boulder, CO 80305-3328 | Email: ara.t.howard / fsl.noaa.gov | Phone: 303-497-7238 | Fax: 303-497-7259 ====================================