[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] nanorc tweaks
From: |
David Lawrence Ramsey |
Subject: |
Re: [Nano-devel] nanorc tweaks |
Date: |
Sat, 25 Jun 2005 23:42:55 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.2 (X11/20050317) |
Mike Frysinger wrote:
>the syntax "c-file" could be updated to also match 'cxx' and 'hxx' file
>types ...
>
>the line for matching define/undef/include/etc... should use [[:space:]]
>instead of a space that way tabs get matched too:
>-# color brightcyan "^ *# *(define|un...
>+# color brightcyan "^[[:space:]]*#[[:space:]]*(define|un...
>would also be nice to include 'warning' and 'error' in that list ;)
>
>also, find attached the beginnings of assembler color
All applied, with "[[:space:]]" used whenever possible in addition to
where you proposed it (since you might want to match tabs in other
places besides preprocessor directives, e.g. in the java regexes' check
for trailing whitespace at the end of a line, and in the spacing between
nanorc directives, since rcfile parsing handles all whitespace
characters as delimiters).