vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vile] nohl inside define-mode


From: lists-vile
Subject: [vile] nohl inside define-mode
Date: Wed, 11 May 2011 12:47:02 -0400
User-agent: Mutt/1.4.2.3i

I work with files for which I want to specify some alternate settings. Here is
a snippet from my .vilerc file:

define-mode sdlmode
~with define-submode sdlmode
    suffixes '\.pr$'
    nohl
    ts=2
    sw=2
~endwith

If I open a C file vile performs syntax highlighting as expected. When
I open a .pr later and switch back to the C file highlighting in the C file is
disabled. I thought from the help documentation that the hl setting was local
to the buffer if specified?

I'm using 9.8e but I believe it happened with 9.7 as well.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]