nano-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add Haskell syntax highlighting


From: Hussam al-Homsi
Subject: Re: [PATCH] Add Haskell syntax highlighting
Date: Thu, 10 Sep 2020 14:43:04 -0400

On 9/10/20, Benno Schulenberg <bensberg@telfort.nl> wrote:
>
> Op 09-09-2020 om 15:19 schreef Hussam al-Homsi:
>> On 9/9/20, Benno Schulenberg <bensberg@telfort.nl> wrote:
>>> There already is a syntax for Haskell.  See syntax/extra/.
>>
>> Oh... Why is there such a folder?
>
> New syntaxes that are not for files that can be found on the
> average default install of a GNU/Linux distro go into that
> subdirectory.  Because the default thing to do is to inlcude
> /usr/share/nano/*.nanorc, which means every syntax that gets
> added there slows down nano's startup time by 10 to 15 ms
> (when using a spinning disk, which has seek times).  For the
> casual user of nano, this becomes annoyingly slow at some
> point.

I see. So they have to be included manually, like using include in a .nanorc?

>> Hiding it there seems like bad design.
>
> Derogatory remarks are not appreciated.

I was describing the design, not the designer. I apologize if I offended anyone.

Hussam



reply via email to

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