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.
This commit is contained in:
Benno Schulenberg
2017-11-19 11:10:53 +01:00
parent 11a3bc484c
commit bacb0f717d
22 changed files with 20 additions and 13 deletions

View File

@@ -5,6 +5,7 @@
## Version: 2011-05-05
syntax "lua" "\.lua$"
magic "Lua script"
comment "--"
color brightwhite "\[\[.*\]\]"