[vox-tech] syntax highlighting in vim

Peter Jay Salzman vox-tech@lists.lugod.org
Fri, 30 Aug 2002 19:58:59 -0700


hola,

or you can go to the vox-tech archive where solution was archived.  ;-)

actually, i did exactly what henry just described below!

pete


begin Henry House <hajhouse@houseag.com> 
> On Fri, Aug 30, 2002 at 02:01:15PM -0700, Andy Wergedal wrote:
> > Hello all,
> > 
> > I am trying to create a simple syntax file to colorize my journal entries. I would like the lines to be colorized by the first letter.
> > 
> > Here is the basic scheme I would like to use. (or something like it.)
> > 
> > black background
> > *  red
> > - blue
> > -- green
> > 
> > I have read the manual and found the syntax files but I just want something simple, not the volumneous view of everything.
> 
> When in doubt, find something that almost works, then tinker.
> 
> In that vein, I suggest you modify /usr/share/vim/vim61/syntax/conf.vim,
> which is about the simplest syntax file imaginable. (Change path as
> approproate if you have other vim than vim 6.1.) The matching is done by
> regexes, the color scheme by a semantic system (i.e., you define the syntax
> in the synax file as "Comment" or similar, but "Comment" is mapped to a
> particular color elsewhere.)



-- 
Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D