vcl-mode for emacs

Stig Sandbeck Mathisen ssm at linpro.no
Wed Mar 5 16:06:47 CET 2008


Dag-Erling Smørgrav <des at linpro.no> writes:

> My only complaint so far is that it considers vcl_* keywords when in
> fact they are identifiers (you can define your own subs as well, not
> just override the predefined ones)

I'll need to match on something like "sub ([[:alpha:]])", and use the
capture group to highlight, then.  

I don't think "identifier" is available as a font-lock-mode colouring,
but "function" is.  That may be better than "keyword".

-- 
Stig Sandbeck Mathisen, Linpro



More information about the varnish-misc mailing list