nano/syntax
Hussam al-Homsi 96ebaf8ab4 syntax: c: make the highlighting of '#include <...>' more compliant
Changes:
  1. There may be zero spaces between 'include' and '<...>'.
  2. Blanks and '=' may occur inside '<...>' but '>' may not.
  3. There must be at least one character inside '<...>'.

References:
  Change 1:
    C:   www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf#subsection.6.10.2
    C++: www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf#section.19.2

  Changes 2 and 3:
    C:   www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf#subsection.6.4.7
    C++: www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/n4659.pdf#section.5.8

Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>
2021-04-26 12:14:44 +02:00
..
extra syntax: ada: new file -- coloring rules for Ada 2012 files 2020-06-21 09:33:14 +02:00
Makefile.am syntax: ada: new file -- coloring rules for Ada 2012 files 2020-06-21 09:33:14 +02:00
asm.nanorc syntaxes: remove some stuff that has been commented out for a long time 2020-04-20 19:22:39 +02:00
autoconf.nanorc syntaxes: add author and license lines to four of the files 2020-09-14 19:38:29 +02:00
awk.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
c.nanorc syntax: c: make the highlighting of '#include <...>' more compliant 2021-04-26 12:14:44 +02:00
changelog.nanorc syntaxes: add author and license lines to four of the files 2020-09-14 19:38:29 +02:00
cmake.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
css.nanorc syntax: css: differentiate pseudo-classes (now cyan) from comments (blue) 2020-07-30 09:25:12 +02:00
default.nanorc syntax: default: colorize also "GNU nano 5.x" 2020-07-30 09:25:56 +02:00
elisp.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00
email.nanorc syntax: email: rename file and syntax, away from the mistaken 'mutt' 2020-04-10 13:01:57 +02:00
go.nanorc syntax: go: add author and license line 2020-12-10 15:48:28 +01:00
groff.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
guile.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00
html.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
java.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
javascript.nanorc tweaks: fuse two regexes into one 2019-11-04 20:49:17 +02:00
json.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00
lua.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
makefile.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
man.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00
markdown.nanorc syntax: markdown: add author and license line 2020-09-15 19:11:35 +02:00
nanohelp.nanorc syntax: nanohelp, nanorc: colorize the Sh-M-X format as a valid key name 2020-01-23 11:11:34 +01:00
nanorc.nanorc options: rename 'highlightcolor' to the more distinct 'spotlightcolor' 2021-03-03 09:31:46 +01:00
nftables.nanorc syntax: nftables: include author and license lines 2020-09-14 19:52:25 +02:00
objc.nanorc syntaxes: remove some stuff that has been commented out for a long time 2020-04-20 19:22:39 +02:00
ocaml.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
patch.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
perl.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
php.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
po.nanorc syntax: po: improve the coloring of format specifiers 2021-04-26 11:29:05 +02:00
python.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
ruby.nanorc syntaxes: remove some superfluous outer parentheses from regexes 2020-04-21 12:49:29 +02:00
rust.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00
sh.nanorc syntax: sh: recognize shebangs with any shell after 'env', not just 'sh' 2020-12-25 17:05:02 +01:00
sql.nanorc syntax: sql: rename the file to match the name of the syntax 2020-06-16 14:44:57 +02:00
tcl.nanorc tweaks: reshuffle a comment, and put the main extension first 2021-04-05 16:06:54 +02:00
tex.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
texinfo.nanorc syntaxes: add author and license lines to four of the files 2020-09-14 19:38:29 +02:00
xml.nanorc syntaxes: remove unneeded backslash escapes before quotes 2020-07-27 13:23:13 +02:00