commit c70e6919c20323d973a8a4a4b75d8ce0ad2726e9
parent abdf069ce395f87764d30ae06a9cafeceb089138
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sat, 8 Jun 2024 11:28:06 +0200
syntaxes: mention the original author of most of the syntax files
The names of the authors were retrieved from:
git log -p --follow syntax/<name>.nanorc
and from:
git log -p --follow --all -- doc/nanorc.sample
For some files the original author is unclear, or
the file is/was too small to mention an author for.
Diffstat:
19 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/syntax/asm.nanorc b/syntax/asm.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for assembler.
+## Original author: Mike Frysinger
+
syntax asm "\.(S|s|asm)$"
magic "assembler source"
comment "//"
diff --git a/syntax/awk.nanorc b/syntax/awk.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for AWK scripts.
+## Original author: Donnie Berkholz
+
syntax awk "\.awk$"
header "^#!.*awk"
magic "awk script"
diff --git a/syntax/cmake.nanorc b/syntax/cmake.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for CMake files.
+## Original author: Felipe Bugno
+
syntax cmake "(CMakeLists\.txt|\.cmake)$"
comment "#"
diff --git a/syntax/css.nanorc b/syntax/css.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for CSS files.
+## Original author: Simon Rupf
+
syntax css "\.css$"
comment "/*|*/"
diff --git a/syntax/elisp.nanorc b/syntax/elisp.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Emacs Lisp.
+## Original author: Mark Oteiza
+
syntax elisp "\.el$"
magic "Lisp/Scheme program"
comment ";"
diff --git a/syntax/extra/fortran.nanorc b/syntax/extra/fortran.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Fortran 90/95.
+## Original author: Pascal Gentil
+
syntax fortran "\.(f|for|f90|f95)$"
comment "!"
diff --git a/syntax/extra/povray.nanorc b/syntax/extra/povray.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for POV-Ray files.
+## Original author: Donnie Berkholz
+
syntax pov "\.(pov|POV|povray|POVRAY)$"
comment "//"
diff --git a/syntax/extra/spec.nanorc b/syntax/extra/spec.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for RPM spec files.
+## Original author: Asterios Dramis
+
syntax spec "\.spec(\.[^/]+)?$"
comment "#"
diff --git a/syntax/groff.nanorc b/syntax/groff.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for groff.
+## Original author: Robert D. Goulding
+
syntax groff "\.(m[ems]|rof|tmac)$|/tmac\.[^/]+$"
comment ".\""
diff --git a/syntax/guile.nanorc b/syntax/guile.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Guile Scheme.
+## Original author: Mark Oteiza
+
syntax guile "\.scm$"
header "^#!.*guile"
comment ";"
diff --git a/syntax/man.nanorc b/syntax/man.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for man pages.
+## Original author: Mike Frysinger
+
syntax man "\.[1-9]x?$"
magic "troff or preprocessor input"
comment ".\""
diff --git a/syntax/objc.nanorc b/syntax/objc.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for C/C++/Obj-C files.
+## Original author: Dave Geering
+
syntax m "\.m$"
magic "Objective-C source"
comment "//"
diff --git a/syntax/patch.nanorc b/syntax/patch.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for patch and diff files.
+## Original author: Mike Frysinger
+
syntax patch "\.(patch|diff|debdiff|rej)$"
magic "diff output"
# There is no official support for comments in patch files.
diff --git a/syntax/php.nanorc b/syntax/php.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for PHP.
+## Original author: Mike Frysinger
+
syntax php "\.(php[23457s~]?|phtml|ctp)$"
magic "PHP script"
comment "//"
diff --git a/syntax/ruby.nanorc b/syntax/ruby.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Ruby.
+## Original author: John M. Gabriele
+
syntax ruby "\.rb$"
header "^#!.*ruby"
magic "Ruby script"
diff --git a/syntax/sh.nanorc b/syntax/sh.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Bourne shell scripts.
+## Original author: Mike Frysinger
+
syntax sh "(\.sh|(^|/|\.)(a|ba|c|da|k|mk|pdk|tc|z)sh(rc|_profile)?|(/etc/|(^|/)\.)profile)$"
header "^#!.*/(((env|busybox)[[:blank:]]+)?(a|ba|c|da|k|mk|pdk|tc|z)?sh|openrc-run|runscript)\>"
header "-\*-.*shell-script.*-\*-"
diff --git a/syntax/sql.nanorc b/syntax/sql.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for (Postgres) SQL scripts.
+## Original author: Devrim Gündüz
+
syntax sql "\.sql$"
comment "-- "
diff --git a/syntax/tcl.nanorc b/syntax/tcl.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for Tcl and Expect scripts.
+## Original author: Mike Frysinger
+
syntax tcl "\.(tcl|exp)$"
magic "Tcl(/Tk)? script"
comment "#"
diff --git a/syntax/xml.nanorc b/syntax/xml.nanorc
@@ -1,5 +1,7 @@
## Syntax highlighting for XML files.
+## Original author: Josef Schugt
+
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"