[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Problem with syntax highlighting in vile 9.8l
From: |
Chris Green |
Subject: |
Re: [vile] Problem with syntax highlighting in vile 9.8l |
Date: |
Thu, 2 Jun 2016 13:43:23 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
On Thu, Jun 02, 2016 at 01:32:48PM +0100, Chris Green wrote:
> On Thu, Jun 02, 2016 at 08:26:30PM +1000, Brendan O'Dea wrote:
> > On 2 June 2016 at 19:03, Chris Green <address@hidden> wrote:
> > > I have installed the packages vile, vile-common and vile-filters and
> > > I've copied my customised vile.keywords over the default one in
> > > /usr/share/vile.
> > >
> > > The syntax highlighting colours stay stubbornly at the default, not my
> > > custom colours. What have I missed? Is there something
> > > broken/different about how syntax highlighting is handled in 9.8l?
> >
> > This works fine me with vile-9.8l on Ubuntu (which should be just a
> > binary rebuild of the Debian package).
> >
> > Note: I didn't modify /usr/share/vile/vile.keywords, but copied it to
> > ~/.vile.keywords and edited that.
> >
> > If you want to verify that you're picking up the correct file, try
> > running vile under strace:
> >
> > strace -etrace=file -o/tmp/t vile foo.c
> >
> > then grep for vile.keywords in /tmp/t, which will show you which one
> > it is finding.
> >
> Ah, oops, I'd changed VILE_STARTUP_PATH and hadn't added the default
> /usr/share/vile so it wasn't finding *any* vile.keywords. The strace
> showed this up beautifully, thank you!
>
However it seems as if I can't put multiple directories in
VILE_STARTUP_PATH, I tried the standard : separator as for PATH etc.
and what I see in the strace is:-
stat("/home/chris/bin:/usr/share/vile", 0x6f4a60) = -1 ENOENT (No such file
or directory)
Is there some way to specify multiple search paths in VILE_STARTUP_PATH?
--
Chris Green