mirror of git://git.sv.gnu.org/nano.git
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.
This commit is contained in:
parent
abdf069ce3
commit
c70e6919c2
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for assembler.
|
## Syntax highlighting for assembler.
|
||||||
|
|
||||||
|
## Original author: Mike Frysinger
|
||||||
|
|
||||||
syntax asm "\.(S|s|asm)$"
|
syntax asm "\.(S|s|asm)$"
|
||||||
magic "assembler source"
|
magic "assembler source"
|
||||||
comment "//"
|
comment "//"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for AWK scripts.
|
## Syntax highlighting for AWK scripts.
|
||||||
|
|
||||||
|
## Original author: Donnie Berkholz
|
||||||
|
|
||||||
syntax awk "\.awk$"
|
syntax awk "\.awk$"
|
||||||
header "^#!.*awk"
|
header "^#!.*awk"
|
||||||
magic "awk script"
|
magic "awk script"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for CMake files.
|
## Syntax highlighting for CMake files.
|
||||||
|
|
||||||
|
## Original author: Felipe Bugno
|
||||||
|
|
||||||
syntax cmake "(CMakeLists\.txt|\.cmake)$"
|
syntax cmake "(CMakeLists\.txt|\.cmake)$"
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for CSS files.
|
## Syntax highlighting for CSS files.
|
||||||
|
|
||||||
|
## Original author: Simon Rupf
|
||||||
|
|
||||||
syntax css "\.css$"
|
syntax css "\.css$"
|
||||||
comment "/*|*/"
|
comment "/*|*/"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Emacs Lisp.
|
## Syntax highlighting for Emacs Lisp.
|
||||||
|
|
||||||
|
## Original author: Mark Oteiza
|
||||||
|
|
||||||
syntax elisp "\.el$"
|
syntax elisp "\.el$"
|
||||||
magic "Lisp/Scheme program"
|
magic "Lisp/Scheme program"
|
||||||
comment ";"
|
comment ";"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Fortran 90/95.
|
## Syntax highlighting for Fortran 90/95.
|
||||||
|
|
||||||
|
## Original author: Pascal Gentil
|
||||||
|
|
||||||
syntax fortran "\.(f|for|f90|f95)$"
|
syntax fortran "\.(f|for|f90|f95)$"
|
||||||
comment "!"
|
comment "!"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for POV-Ray files.
|
## Syntax highlighting for POV-Ray files.
|
||||||
|
|
||||||
|
## Original author: Donnie Berkholz
|
||||||
|
|
||||||
syntax pov "\.(pov|POV|povray|POVRAY)$"
|
syntax pov "\.(pov|POV|povray|POVRAY)$"
|
||||||
comment "//"
|
comment "//"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for RPM spec files.
|
## Syntax highlighting for RPM spec files.
|
||||||
|
|
||||||
|
## Original author: Asterios Dramis
|
||||||
|
|
||||||
syntax spec "\.spec(\.[^/]+)?$"
|
syntax spec "\.spec(\.[^/]+)?$"
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for groff.
|
## Syntax highlighting for groff.
|
||||||
|
|
||||||
|
## Original author: Robert D. Goulding
|
||||||
|
|
||||||
syntax groff "\.(m[ems]|rof|tmac)$|/tmac\.[^/]+$"
|
syntax groff "\.(m[ems]|rof|tmac)$|/tmac\.[^/]+$"
|
||||||
comment ".\""
|
comment ".\""
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Guile Scheme.
|
## Syntax highlighting for Guile Scheme.
|
||||||
|
|
||||||
|
## Original author: Mark Oteiza
|
||||||
|
|
||||||
syntax guile "\.scm$"
|
syntax guile "\.scm$"
|
||||||
header "^#!.*guile"
|
header "^#!.*guile"
|
||||||
comment ";"
|
comment ";"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for man pages.
|
## Syntax highlighting for man pages.
|
||||||
|
|
||||||
|
## Original author: Mike Frysinger
|
||||||
|
|
||||||
syntax man "\.[1-9]x?$"
|
syntax man "\.[1-9]x?$"
|
||||||
magic "troff or preprocessor input"
|
magic "troff or preprocessor input"
|
||||||
comment ".\""
|
comment ".\""
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for C/C++/Obj-C files.
|
## Syntax highlighting for C/C++/Obj-C files.
|
||||||
|
|
||||||
|
## Original author: Dave Geering
|
||||||
|
|
||||||
syntax m "\.m$"
|
syntax m "\.m$"
|
||||||
magic "Objective-C source"
|
magic "Objective-C source"
|
||||||
comment "//"
|
comment "//"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for patch and diff files.
|
## Syntax highlighting for patch and diff files.
|
||||||
|
|
||||||
|
## Original author: Mike Frysinger
|
||||||
|
|
||||||
syntax patch "\.(patch|diff|debdiff|rej)$"
|
syntax patch "\.(patch|diff|debdiff|rej)$"
|
||||||
magic "diff output"
|
magic "diff output"
|
||||||
# There is no official support for comments in patch files.
|
# There is no official support for comments in patch files.
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for PHP.
|
## Syntax highlighting for PHP.
|
||||||
|
|
||||||
|
## Original author: Mike Frysinger
|
||||||
|
|
||||||
syntax php "\.(php[23457s~]?|phtml|ctp)$"
|
syntax php "\.(php[23457s~]?|phtml|ctp)$"
|
||||||
magic "PHP script"
|
magic "PHP script"
|
||||||
comment "//"
|
comment "//"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Ruby.
|
## Syntax highlighting for Ruby.
|
||||||
|
|
||||||
|
## Original author: John M. Gabriele
|
||||||
|
|
||||||
syntax ruby "\.rb$"
|
syntax ruby "\.rb$"
|
||||||
header "^#!.*ruby"
|
header "^#!.*ruby"
|
||||||
magic "Ruby script"
|
magic "Ruby script"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Bourne shell scripts.
|
## 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)$"
|
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 "^#!.*/(((env|busybox)[[:blank:]]+)?(a|ba|c|da|k|mk|pdk|tc|z)?sh|openrc-run|runscript)\>"
|
||||||
header "-\*-.*shell-script.*-\*-"
|
header "-\*-.*shell-script.*-\*-"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for (Postgres) SQL scripts.
|
## Syntax highlighting for (Postgres) SQL scripts.
|
||||||
|
|
||||||
|
## Original author: Devrim Gündüz
|
||||||
|
|
||||||
syntax sql "\.sql$"
|
syntax sql "\.sql$"
|
||||||
comment "-- "
|
comment "-- "
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for Tcl and Expect scripts.
|
## Syntax highlighting for Tcl and Expect scripts.
|
||||||
|
|
||||||
|
## Original author: Mike Frysinger
|
||||||
|
|
||||||
syntax tcl "\.(tcl|exp)$"
|
syntax tcl "\.(tcl|exp)$"
|
||||||
magic "Tcl(/Tk)? script"
|
magic "Tcl(/Tk)? script"
|
||||||
comment "#"
|
comment "#"
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
## Syntax highlighting for XML files.
|
## 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)$"
|
syntax xml "\.([jrsx]html?|jnlp|mml|pom|rng|sgml?|svg|w[as]dl|wsdd|xjb|xml|xs(d|lt?)|xul)$"
|
||||||
header "<\?xml.*version=.*\?>"
|
header "<\?xml.*version=.*\?>"
|
||||||
magic "(XML|SGML) (sub)?document"
|
magic "(XML|SGML) (sub)?document"
|
||||||
|
|
Loading…
Reference in New Issue