l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2002 Aug 30 21:54

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] syntax highlighting in vim
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] syntax highlighting in vim



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
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Sunset Systems
Who graciously hosts our website & mailing lists!