Benno Schulenberg
636e9ac3e8
syntaxes: remove several redundant end-of-line anchors from regexes
2018-11-03 21:12:44 +01:00
Benno Schulenberg
3e1fc6385b
syntaxes: remove quotes from each syntax name, and color it differently
...
The different color will make the name stand out, as it should, instead
of looking the same as all the regex strings.
2018-02-14 17:36:50 +01:00
Benno Schulenberg
bacb0f717d
syntax: adjust the magic strings for the changes since file-5.10
...
Since file-5.10 (end of 2011), libmagic identifies a C file in most
cases as "C source" instead of as "C program". Nano's magic strings
for some other files didn't match any more what file-5.32 currently
produces, either. So, they have been adjusted, new ones added, and
old ones deleted.
This fixes https://savannah.gnu.org/bugs/?52445 .
2017-11-19 11:24:30 +01:00
Benno Schulenberg
79971a309f
docs: remove the mention of backslashes for the argument of 'comment'
...
Also remove the backslashes from the two syntaxes that contained them.
This completes the fix for https://savannah.gnu.org/bugs/?51370 .
2017-07-07 10:15:17 +02:00
Benno Schulenberg
09f516a58b
syntax: man, groff: fix the string that introduces a comment
...
The comment marker is not «."» but «.\"», which requires three
backslashes to specify. Also adjust the documentation.
2017-07-03 11:07:21 +02: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