1
1
nano/syntax
Hussam al-Homsi ef6ccc47c8 syntax: perl, ruby: remove arbitrary highlighting of here documents
The rules assume that 'STOP' (for Perl) or EOT (for Ruby) is the
terminating string while it could be anything.  Also, the rules
don't take quotes nor backticks nor a tilde into account.

In short: these coloring rules are far too limited.

References:
  https://perldoc.perl.org/perlop#%3C%3CEOF
  https://docs.ruby-lang.org/en/3.0.0/doc/syntax/literals_rdoc.html#label-Here+Documents+-28heredocs-29

Signed-off-by: Hussam al-Homsi <sawuare@gmail.com>
2021-08-09 09:56:50 +02:00
..
extra syntax: gentoo: remove some obsolete keywords and add some new ones 2021-06-25 16:37:32 +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.am syntax: ada: new file -- coloring rules for Ada 2012 files 2020-06-21 09:33:14 +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 help: use smaller triangles for the arrows 2021-06-14 09:29:27 +02:00
nanorc.nanorc options: accept 'set minicolor' for setting the color of the minibar 2021-06-08 09:25:02 +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 syntax: perl, ruby: remove arbitrary highlighting of here documents 2021-08-09 09:56:50 +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 syntax: perl, ruby: remove arbitrary highlighting of here documents 2021-08-09 09:56:50 +02:00
rust.nanorc syntax: rust: update the license to GPL3 or newer 2021-06-27 11:17:37 +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