[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] nanorc.nanorc end-of-line comments
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] nanorc.nanorc end-of-line comments |
Date: |
Tue, 16 Jan 2018 21:25:36 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Op 16-01-18 om 06:28 schreef Brand Huntsman:
color brightblue "(^|[[:space:]]+)#.*$"
The above color from nanorc.nanorc matches the #RRGGBB color format and
colors the rest of the line as a comment. Is it important to color comments at
the end of lines?
No, it's not important. And I even think only some of the commands
allow trailing comments. See commit ffae582a:
http://git.savannah.gnu.org/cgit/nano.git/commit/?id=ffae582a
Or could whitespace be required after the # to be a valid end-of-line
comment?
Hmm. I don't like that much. Better just scrap trailing comments
altogether.
Benno