diff --git a/syntax/asm.nanorc b/syntax/asm.nanorc
index 228a185f6a17f8e00ca0fc38188d1b240c3b7ea6..35859eecf5948a76c365e41b0d92be480e0438aa 100644
--- a/syntax/asm.nanorc
+++ b/syntax/asm.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for assembler.
 
 syntax "asm" "\.(S|s|asm)$"
-magic "[Aa]ssembl(y|er)"
+magic "assembler source"
 comment "//"
 
 color red "\<[A-Z_]{2,}\>"
diff --git a/syntax/awk.nanorc b/syntax/awk.nanorc
index 34e7176f0896c80968103cdaf3da00c1e7bbc091..7d3dff3b3f4abdee1cd3382ae6a721df003d930d 100644
--- a/syntax/awk.nanorc
+++ b/syntax/awk.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for awk.
 
 syntax "awk" "\.awk$"
-magic "awk.*script text"
+magic "awk script"
 comment "#"
 
 # Records.
diff --git a/syntax/c.nanorc b/syntax/c.nanorc
index fa97dc708272d57e2fba3b41627d7a162164a051..1b7828440bcf26c404dcc987db35349030cc6636 100644
--- a/syntax/c.nanorc
+++ b/syntax/c.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for C/C++.
 
 syntax "c" "\.(c(c|pp|xx|\+\+)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$"
-magic "(ASCII|UTF-8 Unicode) C(\+\+)? program text"
+magic "^(C|C\+\+) (source|program)"
 comment "//"
 
 # Constants.
diff --git a/syntax/elisp.nanorc b/syntax/elisp.nanorc
index 785827eebfd0ca60c6a4cf0fc65ce754e3f2a61c..296ff49d1ffaa1954dc9aec6fa6dc79a1df241d9 100644
--- a/syntax/elisp.nanorc
+++ b/syntax/elisp.nanorc
@@ -1,6 +1,7 @@
 ## Here is an example for Emacs Lisp.
 
 syntax "elisp" "\.el$"
+magic "Lisp/Scheme program"
 comment ";"
 
 # Basic functions/macros
diff --git a/syntax/guile.nanorc b/syntax/guile.nanorc
index 1f93a7c0b3675036cf19761cf21dd601dde3c807..db5f786b95fc1db64ee97986a3d021639f21c062 100644
--- a/syntax/guile.nanorc
+++ b/syntax/guile.nanorc
@@ -2,7 +2,6 @@
 
 syntax "guile" "\.scm$"
 header "^#!.*guile"
-magic "guile"
 comment ";"
 
 # Basic scheme functions
diff --git a/syntax/html.nanorc b/syntax/html.nanorc
index 63d0476b8763aa0680504408d0f1a7e85341a525..f8da69903137cc8a018368c1d171a063290f9342 100644
--- a/syntax/html.nanorc
+++ b/syntax/html.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for HTML.
 
 syntax "html" "\.html?$"
-magic "HTML document text"
+magic "HTML document"
 comment "<!--|-->"
 
 # Tags:
diff --git a/syntax/lua.nanorc b/syntax/lua.nanorc
index 70f69d47ecf293f95628f3345994800470962d0e..90e9ea2278a3f07740c40db2b6235f2f1d4de6b8 100644
--- a/syntax/lua.nanorc
+++ b/syntax/lua.nanorc
@@ -5,6 +5,7 @@
 ## Version: 2011-05-05
 
 syntax "lua" "\.lua$"
+magic "Lua script"
 comment "--"
 
 color brightwhite "\[\[.*\]\]"
diff --git a/syntax/makefile.nanorc b/syntax/makefile.nanorc
index 71f39f03d949fb09ea6fed8ce57d4891969a95d0..e94a24992572701b8971fcbb4c30b5bddfc438e9 100644
--- a/syntax/makefile.nanorc
+++ b/syntax/makefile.nanorc
@@ -1,6 +1,7 @@
 ## Here is an example for Makefiles.
 
 syntax "makefile" "Makefile[^/]*$" "\.(make|mk)$"
+magic "makefile script"
 comment "#"
 
 color red "[:=]"
diff --git a/syntax/man.nanorc b/syntax/man.nanorc
index dd7d23ea5a615c8e119cf5ca356cdb0d2d3eeebc..00d8fe9218d560b0b53e7bb92b1833d98fa6352f 100644
--- a/syntax/man.nanorc
+++ b/syntax/man.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for manpages.
 
 syntax "man" "\.[1-9]x?$"
-magic "troff or preprocessor input text"
+magic "troff or preprocessor input"
 comment ".\""
 
 color green "\.(SH|SS|TH) .*$"
diff --git a/syntax/objc.nanorc b/syntax/objc.nanorc
index 5a14ada33e44c258f6c5a02304d98c43e0c9124d..ff5ea40f64fb9c43650d7091553bc0e320b303b6 100644
--- a/syntax/objc.nanorc
+++ b/syntax/objc.nanorc
@@ -1,6 +1,7 @@
 ## Here is an example for C/C++/Obj-C.
 
 syntax "m" "\.m$"
+magic "Objective-C source"
 comment "//"
 
 # Stuffs,
diff --git a/syntax/ocaml.nanorc b/syntax/ocaml.nanorc
index b2b3aa0fcdd7b42a37227d879e9b9d7f83809d7c..73d6e06503f186a58bd3d48129f8f256be176b8b 100644
--- a/syntax/ocaml.nanorc
+++ b/syntax/ocaml.nanorc
@@ -1,6 +1,7 @@
 ## Syntax highlighting for OCaml.
 
 syntax "ocaml" "\.mli?$"
+magic "OCaml"
 comment "(*|*)"
 
 # Uid:
diff --git a/syntax/patch.nanorc b/syntax/patch.nanorc
index 14460e7811f276a079337a89ac557409e34c4074..5bf2a39959f6c8ba3ffd0c42e2ab309ed81ec303 100644
--- a/syntax/patch.nanorc
+++ b/syntax/patch.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for patch files.
 
 syntax "patch" "\.(patch|diff|debdiff)$"
-magic "diff output text"
+magic "diff output"
 # There is no official support for comments in patch files.
 comment ""
 
diff --git a/syntax/perl.nanorc b/syntax/perl.nanorc
index 97ab68ac3d61e26db36eb41561fb2834d42734e9..beb9b079a6d5025d69713c8494e9bca4a1b0de96 100644
--- a/syntax/perl.nanorc
+++ b/syntax/perl.nanorc
@@ -2,7 +2,7 @@
 
 syntax "perl" "\.p[lm]$"
 header "^#!.*perl[-0-9._]*"
-magic "Perl script text"
+magic "Perl script"
 comment "#"
 
 color red "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork))\>" "\<(get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join)\>" "\<(keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek(dir)?)\>" "\<(se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr(y)?|truncate|umask)\>" "\<(un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>"
diff --git a/syntax/php.nanorc b/syntax/php.nanorc
index 37d09780003aec552b9e26c76d7c2f2ab82d13f2..2b5f0776b8844b217a5fac7b208740e2a4f7fa40 100644
--- a/syntax/php.nanorc
+++ b/syntax/php.nanorc
@@ -1,7 +1,7 @@
 ## Here is an example for PHP.
 
 syntax "php" "\.ph(p[23457s~]?|tml)$"
-magic "PHP script text"
+magic "PHP script"
 comment "//"
 
 # PHP markings.
diff --git a/syntax/postgresql.nanorc b/syntax/postgresql.nanorc
index 6dd471d1a4faabe1fdf5d35aeea6ce7473d0516c..12d4483ff57fd43d6f7912e119f58afb9d85cf8e 100644
--- a/syntax/postgresql.nanorc
+++ b/syntax/postgresql.nanorc
@@ -1,7 +1,6 @@
 ## Here is an example for PostgreSQL.
 
 syntax "sql" "\.sql[2345s~]?$"
-magic "PostgreSQL script text"
 comment "-- "
 
 # Functions.
diff --git a/syntax/python.nanorc b/syntax/python.nanorc
index 912c17d1303f11f47211aceedb47e71a8468be3b..29d2dff4fb1679a953f8a556bbec3b60ebbf9c7e 100644
--- a/syntax/python.nanorc
+++ b/syntax/python.nanorc
@@ -2,6 +2,7 @@
 
 syntax "python" "\.py$"
 header "^#!.*python[-0-9._]*"
+magic "Python script"
 linter pyflakes
 comment "#"
 
diff --git a/syntax/ruby.nanorc b/syntax/ruby.nanorc
index 0c5abce94d6ef0a5ccb4df862babc9298bcca1eb..7fd1e3b73d6dfbd457378c2c3e5f4a07cec2464f 100644
--- a/syntax/ruby.nanorc
+++ b/syntax/ruby.nanorc
@@ -2,6 +2,7 @@
 
 syntax "ruby" "\.rb$"
 header "^#!.*ruby[-0-9._]*"
+magic "Ruby script"
 linter ruby -w -c
 comment "#"
 
diff --git a/syntax/sh.nanorc b/syntax/sh.nanorc
index 17e6dd9d03a4cd450fa5f51c0a2acd0223a32c61..406e332cd5c5fa9715366f91d9a009018556786b 100644
--- a/syntax/sh.nanorc
+++ b/syntax/sh.nanorc
@@ -2,7 +2,7 @@
 
 syntax "sh" "\.sh$"
 header "^#!.*((ba|da|k|pdk)?sh[-0-9_]*|openrc-run|runscript)"
-magic "(POSIX|Bourne.*) shell script text"
+magic "(POSIX|Bourne-Again) shell script.*text"
 linter dash -n
 comment "#"
 
diff --git a/syntax/tcl.nanorc b/syntax/tcl.nanorc
index adbb60597db4c3770df055ce9d7d846012d95516..363b53e272bf623fea784509a8cfac06d97dde9c 100644
--- a/syntax/tcl.nanorc
+++ b/syntax/tcl.nanorc
@@ -1,6 +1,7 @@
 ## Syntax highlighting for Tcl files.
 
 syntax "tcl" "\.tcl$"
+magic "Tcl(/Tk)? script"
 comment "#"
 
 # Standard Tcl [info commands]:
diff --git a/syntax/tex.nanorc b/syntax/tex.nanorc
index 6f2d7ab52454e93a482ae4bff22c77b7c5c42fa7..7dcb38360c4178cb224857330c15f09807bcbe04 100644
--- a/syntax/tex.nanorc
+++ b/syntax/tex.nanorc
@@ -1,6 +1,7 @@
 ## Here is a short example for TeX files.
 
 syntax "tex" "\.tex$"
+magic "(La)?TeX document"
 linter chktex -v0 -q -I
 comment "%"
 
diff --git a/syntax/texinfo.nanorc b/syntax/texinfo.nanorc
index 3c9f8df79aee84c1acb55aa5d989aab2fc73019b..3125d254bc02bd7313aebb5567fea389913e62fc 100644
--- a/syntax/texinfo.nanorc
+++ b/syntax/texinfo.nanorc
@@ -2,7 +2,7 @@
 
 syntax "texinfo" "\.texi$"
 header "^\\input texinfo"
-magic "Texinfo source text"
+magic "Texinfo source"
 comment "@c "
 
 # Command arguments, trailing and enclosed.
diff --git a/syntax/xml.nanorc b/syntax/xml.nanorc
index 41c422fadf80b51983db1a99bf3938d9b41a9b14..084618ab90edcec23cd321ee5945e34fcb5deb68 100644
--- a/syntax/xml.nanorc
+++ b/syntax/xml.nanorc
@@ -2,7 +2,7 @@
 
 syntax "xml" "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
 header "<\?xml.*version=.*\?>"
-magic "(XML|SGML) (sub)?document text"
+magic "(XML|SGML) (sub)?document"
 comment "<!--|-->"
 
 # The entire content of the tag: