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.
|
||||
|
||||
## Original author: Mike Frysinger
|
||||
|
||||
syntax asm "\.(S|s|asm)$"
|
||||
magic "assembler source"
|
||||
comment "//"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for AWK scripts.
|
||||
|
||||
## Original author: Donnie Berkholz
|
||||
|
||||
syntax awk "\.awk$"
|
||||
header "^#!.*awk"
|
||||
magic "awk script"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for CMake files.
|
||||
|
||||
## Original author: Felipe Bugno
|
||||
|
||||
syntax cmake "(CMakeLists\.txt|\.cmake)$"
|
||||
comment "#"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for CSS files.
|
||||
|
||||
## Original author: Simon Rupf
|
||||
|
||||
syntax css "\.css$"
|
||||
comment "/*|*/"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for Emacs Lisp.
|
||||
|
||||
## Original author: Mark Oteiza
|
||||
|
||||
syntax elisp "\.el$"
|
||||
magic "Lisp/Scheme program"
|
||||
comment ";"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for Fortran 90/95.
|
||||
|
||||
## Original author: Pascal Gentil
|
||||
|
||||
syntax fortran "\.(f|for|f90|f95)$"
|
||||
comment "!"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for POV-Ray files.
|
||||
|
||||
## Original author: Donnie Berkholz
|
||||
|
||||
syntax pov "\.(pov|POV|povray|POVRAY)$"
|
||||
comment "//"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for RPM spec files.
|
||||
|
||||
## Original author: Asterios Dramis
|
||||
|
||||
syntax spec "\.spec(\.[^/]+)?$"
|
||||
comment "#"
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for groff.
|
||||
|
||||
## Original author: Robert D. Goulding
|
||||
|
||||
syntax groff "\.(m[ems]|rof|tmac)$|/tmac\.[^/]+$"
|
||||
comment ".\""
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for Guile Scheme.
|
||||
|
||||
## Original author: Mark Oteiza
|
||||
|
||||
syntax guile "\.scm$"
|
||||
header "^#!.*guile"
|
||||
comment ";"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for man pages.
|
||||
|
||||
## Original author: Mike Frysinger
|
||||
|
||||
syntax man "\.[1-9]x?$"
|
||||
magic "troff or preprocessor input"
|
||||
comment ".\""
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for C/C++/Obj-C files.
|
||||
|
||||
## Original author: Dave Geering
|
||||
|
||||
syntax m "\.m$"
|
||||
magic "Objective-C source"
|
||||
comment "//"
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for PHP.
|
||||
|
||||
## Original author: Mike Frysinger
|
||||
|
||||
syntax php "\.(php[23457s~]?|phtml|ctp)$"
|
||||
magic "PHP script"
|
||||
comment "//"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for Ruby.
|
||||
|
||||
## Original author: John M. Gabriele
|
||||
|
||||
syntax ruby "\.rb$"
|
||||
header "^#!.*ruby"
|
||||
magic "Ruby script"
|
||||
|
|
|
@ -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.*-\*-"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for (Postgres) SQL scripts.
|
||||
|
||||
## Original author: Devrim Gündüz
|
||||
|
||||
syntax sql "\.sql$"
|
||||
comment "-- "
|
||||
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
## Syntax highlighting for Tcl and Expect scripts.
|
||||
|
||||
## Original author: Mike Frysinger
|
||||
|
||||
syntax tcl "\.(tcl|exp)$"
|
||||
magic "Tcl(/Tk)? script"
|
||||
comment "#"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue