Looking for vim syntax expert

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.

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

···

On Wed, 23 Apr 2003, Jim Freeze wrote:

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
====================================

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.

That’s what I suspected. I am greatly interested in your syntax
file. Please send it to me and I will use it as an example…
and wade through the help when I need to. :slight_smile:

Jim

···

On Wednesday, 23 April 2003 at 8:57:09 +0900, ahoward wrote:

On Wed, 23 Apr 2003, Jim Freeze wrote:

-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
====================================


Jim Freeze

Of course there’s no reason for it, it’s just our policy.