smol/syntax
Benno Schulenberg 635977fe33 syntax: nanohelp: avoid colorizing M-) in (M-) and M-" in "M-"
Instead of quoting M- as 'M-', some translations use «M-» (Catalan),
(M-) (Croat), "M-" (Italian), „M-” (Romanian), or „М-“ (Serbian).
Those occurrences of M- nor its quotation marks should be colored.

Achieve this by excluding those quotation marks from the M- regex,
and then colorizing M-) and M-" only when at start of line (first
column of shortcuts) or when between parentheses (second column).
2021-05-30 10:44:03 +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: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
autoconf.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
awk.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
c.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
changelog.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
cmake.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
css.nanorc syntax: css: differentiate pseudo-classes (now cyan) from comments (blue) 2020-07-30 09:25:12 +02:00
default.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
elisp.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +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 syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
groff.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
guile.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +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 syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
json.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
lua.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
makefile.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +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: avoid colorizing M-) in (M-) and M-" in "M-" 2021-05-30 10:44:03 +02:00
nanorc.nanorc syntax: nanorc: colorize "light" as valid only for the eight basic colors 2021-05-26 15:53:07 +02:00
nftables.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
objc.nanorc syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +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: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02:00
php.nanorc syntax: php: colorize the full short tag for echo (<?=) 2021-05-05 12:09:17 +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 syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +02: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 syntaxes: replace [[:space:]] with [[:blank:]] to exclude carriage return 2021-04-27 11:18:41 +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