[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:32:48 +0100 |
User-agent: |
Mutt/1.6.1 (2016-04-27) |
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!
--
Chris Green
- [vile] Problem with syntax highlighting in vile 9.8l, Chris Green, 2016/06/02
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Brendan O'Dea, 2016/06/02
- Re: [vile] Problem with syntax highlighting in vile 9.8l,
Chris Green <=
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Chris Green, 2016/06/02
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Chris Green, 2016/06/02
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Thomas Dickey, 2016/06/02
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Chris Green, 2016/06/03
- Re: [vile] Problem with syntax highlighting in vile 9.8l, Thomas Dickey, 2016/06/03