[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Does having many syntax highlighting patterns in .nanor
From: |
David Lawrence Ramsey |
Subject: |
Re: [Nano-devel] Does having many syntax highlighting patterns in .nanorc slow it down? |
Date: |
Fri, 14 Apr 2006 13:50:19 -0400 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
address@hidden wrote:
<snip>
> My old patch for 1.3.0 (http://qzx.com/nano/) moves the syntax
> sections to individual files and only requires uncommenting two lines.
>
> syntax "c" "\.(c|h|cpp)$"
> include "/etc/nano/syntax/c.nanorc"
I've finally been able to reconcile that patch with current CVS and
merge it. I've made one change to it, though: the "syntax" line is
allowed in included files, so that syntaxes can be entirely
self-contained in separate files. It definitely needs testing, though.