[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not dropping the default syntax at all
From: |
Hussam al-Homsi |
Subject: |
Re: not dropping the default syntax at all |
Date: |
Mon, 7 Sep 2020 12:08:39 -0400 |
On 9/7/20, Benno Schulenberg <bensberg@telfort.nl> wrote:
>
> Op 06-09-2020 om 22:22 schreef Hussam al-Homsi:
>> I think the default syntax (default.nanorc) should be dropped because
>> its highlighting is arbitrary and because its assumptions are often
>> invalid.
>> For example, a # in unrecognized file formats could mean anything, so
>> it should not be treated as starting a comment.
>
> For the vast majority of cases where nano is casually used (a quick
> edit of a config file), a leading # means a comment, so I think it
> is quite good to have a default syntax.
That's true. I was thinking about a separate nanorc for config files,
but I realize now that they often lack extensions so that's not
possible...
I guess it's good to have a default syntax after all.
Hussam