nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] Does having many syntax highlighting patterns in .nanor


From: delta
Subject: Re: [Nano-devel] Does having many syntax highlighting patterns in .nanorc slow it down?
Date: Tue, 4 Apr 2006 19:55:57 -0600

On Mon, 3 Apr 2006 22:12:23 -0700 (PDT)
"John M. Gabriele" <address@hidden> wrote:

> Just curious, does having very many syntax highlighting
> patterns in my ~/.nanorc file slow nano down at runtime?

No it doesn't.


> As nano gets more and more syntax highlight patterns,
> it would seem that it'll get more and more onerous for
> new users to have to go through the nanorc.sample and
> delete all those '# ' characters just to enable built-in
> functionality.

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"


-- 
Brand Huntsman -- http://www.qzx.com
Gentoo Linux 2.6.14.2-k7-js [AMD Athlon 64 3000+ @ 1299MHz]
up 2 days 20:02 hours




reply via email to

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