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: Kamil Dudka
Subject: Re: [PATCH] Add Haskell syntax highlighting
Date: Fri, 11 Sep 2020 11:58:01 +0200

On Friday, September 11, 2020 11:27:39 AM CEST Benno Schulenberg wrote:
> Op 10-09-2020 om 20:43 schreef Hussam al-Homsi:
> > I see. So they have to be included manually, like using include in a
> > .nanorc?
> Yes.  It is unfortunate that /etc/nanorc exists and that several distros
> uncomment the "include /usr/share/nano/*.nanorc".  It would have been
> better if they used a skeleton .nanorc so that each user can trim the
> includes without inheriting everything from /etc/nanorc.

Each approach has its pros and cons.  The problem of ~/.nanorc is that it 
is usually not manipulated directly by package managers.  So any updates
would need to go to /etc/skel/.nanorc, which would only take an effect for 
newly created user accounts.  If we enabled syntax highlighting this way
in Fedora, I am afraid that some users would still not be aware that nano
ever supports syntax highlighting.

If you expect nano to be packaged in a certain way, it would be good to 
document it somewhere.  Otherwise it is unlikely that distros will do it
in a way that matches your expectations ;-)

Kamil





reply via email to

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