nano/syntax
Benno Schulenberg ee91c51e09 syntax: perl: avoid recognizing embedded hash signs as a comment starter
Require that a comment starts at the start of a line or is preceded by
whitespace.  This prevents most hash signs used for other purposes (and
what follows them) getting colored as comments.
2019-08-08 12:08:34 +02:00
..
asm.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
autoconf.nanorc tweaks: slightly indent warnings and errors during the configure phase 2018-12-16 14:41:31 +01:00
awk.nanorc tweaks: fold a few pairs of regexes into each other 2018-11-03 21:32:07 +01:00
c.nanorc syntaxes: recognize .ctp extension as a PHP file, and .cu as a C/C++ file 2019-08-08 12:02:07 +02:00
changelog.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
cmake.nanorc tweaks: fold a few pairs of regexes into each other 2018-11-03 21:32:07 +01:00
css.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
debian.nanorc syntaxes: condense and/or correct some extension regexes 2018-05-18 20:40:08 +02:00
default.nanorc syntax: default: color in red also versions 4.x of nano 2019-03-30 19:54:58 +01:00
elisp.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
fortran.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
gentoo.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
go.nanorc syntaxes: remove all traces of the 'formatter' command 2018-08-09 21:12:10 +02:00
groff.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
guile.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
html.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
java.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
javascript.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
json.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
lua.nanorc syntax: lua: do not color strings inside comments, and add a linter 2018-08-28 20:16:16 +02:00
Makefile.am help: use a dedicated syntax to color shortcuts in a help text 2017-04-25 17:21:46 +02:00
makefile.nanorc syntax: makefile: color all keywords that GNU make recognizes 2018-05-30 11:29:08 +02:00
man.nanorc syntax: man: require the dot to be at start of line, not the comment 2019-03-31 12:42:53 +02:00
mgp.nanorc tweaks: fold a few pairs of regexes into each other 2018-11-03 21:32:07 +01:00
mutt.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
nanohelp.nanorc tweaks: renumber a couple of symbols, and reshuffle a bit of code 2018-11-07 19:30:04 +01:00
nanorc.nanorc syntax: nanorc: colorize also strings preceded by 'start=' or 'end=' 2019-04-02 12:01:56 +02:00
nftables.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
objc.nanorc tweaks: snip trailing whitespace that ended with a non-breaking space 2018-11-03 20:41:42 +01: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: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
perl.nanorc syntax: perl: avoid recognizing embedded hash signs as a comment starter 2019-08-08 12:08:34 +02:00
php.nanorc syntaxes: recognize .ctp extension as a PHP file, and .cu as a C/C++ file 2019-08-08 12:02:07 +02:00
po.nanorc syntax: po: colorize numbers only when they form a self-contained word 2019-07-29 19:12:58 +02:00
postgresql.nanorc tweaks: fold a few pairs of regexes into each other 2018-11-03 21:32:07 +01:00
pov.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
python.nanorc syntax: python: avoid miscoloring stuff between two empty strings 2019-05-11 19:05:45 +02:00
ruby.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
rust.nanorc syntaxes: condense and/or correct some extension regexes 2018-05-18 20:40:08 +02:00
sh.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
spec.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
tcl.nanorc tweaks: condense two regexes in the Tcl syntax, and add a comment 2018-12-17 16:00:54 +01:00
tex.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
texinfo.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
xml.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00