Benno Schulenberg
c830b8f51c
syntax: php: recognize also the .phtml and .php7 extensions
...
(And in the bargain sort or group some of the keywords.)
This addresses https://savannah.gnu.org/patch/?9342 .
Suggested-by: M <taur@mail.com>
2017-05-15 10:57:57 +02:00
Benno Schulenberg
7e09f2c64a
syntax: makefile: color comments only at start of line or after whitespace
2017-05-09 17:37:05 +02:00
Benno Schulenberg
a3102cd4cf
syntax: xml: recognize an XML file also by its first line
...
Some .rdf files are XML, but the .rdf extension seems to be used
also for other things. So... use the 'header' mechanism.
2017-05-07 20:02:20 +02:00
Benno Schulenberg
da67883508
syntax: nanohelp: color also ^6 as a shortcut keystroke
...
(Hadn't seen that one because of my additional bindings.)
2017-05-07 20:00:52 +02:00
Benno Schulenberg
17cf7d1c62
syntax: nanohelp: change the hue of the keystrokes to match sample.nanorc
...
And because I think it looks slightly better.
2017-04-30 17:37:07 +02:00
Benno Schulenberg
9cff7a1689
help: use a dedicated syntax to color shortcuts in a help text
...
This avoids applying the default syntax, or the syntax specified
with --syntax, to a ^G help text.
2017-04-25 17:21:46 +02:00
David Lawrence Ramsey
f4ee83a76d
syntax: nanorc: color also the option "linenumbers" as being valid
2017-03-24 21:18:17 +01:00
Benno Schulenberg
6d873d3760
startup: add option 'nopauses' to disable pausing after a warning
...
This addresses a followup of https://savannah.gnu.org/bugs/?50362 .
Reported-by: Mike Frysinger <vapier@gentoo.org>
2017-03-16 19:26:39 +01:00
Mike Frysinger
d0c64e8086
syntax: gentoo: match .eblit files too
2017-02-22 13:35:36 -05:00
Mike Frysinger
cd5d7faa4e
syntax: gentoo: flag mixed whitespace
2017-02-21 17:46:13 +01:00
Mike Frysinger
3ca6c9241f
syntax: c++: add override keyword
2017-02-21 17:46:07 +01:00
Benno Schulenberg
124a859516
syntax: html: be more precise with tags, and paint attribute names
...
A tag begins not merely with a "<" but it must be followed by an
ASCII alphabetic character or one of "/", "!" and "?".
Further, color all the valid attribute names in red.
2017-01-08 11:32:30 +01:00
Benno Schulenberg
b0ef2e2803
build: move the syntax files out of the doc/ directory
...
They are not documentation, they are functional elements of nano.
2016-12-30 22:05:01 +01:00