smol/syntax
Neal Gompa ad52830fb8 syntax: spec: add some keywords that were added in RPM 4.15 and 4.13
In RPM 4.15, a number of new spec section features were introduced:

* %dnl                       - macro-engine level comments
* %elif, %elifos, %elifarch  - 'else if' stanzas for conditionals
* %sourcelist                - section for listing sources line by line
* %patchlist                 - section for listing patches line by line
* %generate_buildrequires    - script section after %prep for
                               generating build dependencies

(Reference: https://rpm.org/wiki/Releases/4.15.0.html.)

An enhancement added in RPM 4.13:

* Sections for file trigger stanzas

(Reference: https://rpm.org/user_doc/file_triggers.html.)

As these are being increasingly used in Fedora and other distributions,
it's quite helpful to have syntax highlighting be up to date on handling
them.

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
2020-02-23 15:12:04 +01:00
..
Makefile.am help: use a dedicated syntax to color shortcuts in a help text 2017-04-25 17:21:46 +02:00
asm.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
autoconf.nanorc tweaks: slightly indent warnings and errors during the configure phase 2018-12-16 14:41:31 +01:00
awk.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
c.nanorc syntax: c: recognize some C++ header files by their Emacs modeline 2019-10-06 12:01:02 +02:00
changelog.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
cmake.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
css.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
debian.nanorc syntaxes: condense and/or correct some extension regexes 2018-05-18 20:40:08 +02:00
default.nanorc syntax: default: don't colorize stuff between two pairs of brackets 2019-10-25 12:23:40 +02:00
elisp.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
fortran.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
gentoo.nanorc syntax: gentoo: highlight the BDEPEND variable as well 2019-10-24 17:24:06 +02:00
go.nanorc syntaxes: put the 'linter' and 'formatter' commands on a separate line 2019-11-04 20:56:41 +02:00
groff.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
guile.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
html.nanorc syntax: html: add a formatter command, making use of 'tidy' 2019-10-25 17:27:14 +02:00
java.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
javascript.nanorc tweaks: fuse two regexes into one 2019-11-04 20:49:17 +02:00
json.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
lua.nanorc syntaxes: put the 'linter' and 'formatter' commands on a separate line 2019-11-04 20:56:41 +02:00
makefile.nanorc syntax: makefile: color all keywords that GNU make recognizes 2018-05-30 11:29:08 +02:00
man.nanorc syntax: man: require the dot to be at start of line, not the comment 2019-03-31 12:42:53 +02:00
mgp.nanorc syntaxes: change some unneeded 'icolor' commands to 'color' commands 2019-08-17 17:01:19 +02:00
mutt.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
nanohelp.nanorc syntax: nanohelp, nanorc: colorize the Sh-M-X format as a valid key name 2020-01-23 11:11:34 +01:00
nanorc.nanorc syntax: nanorc: colorize all-lowercase Meta key binds as valid too 2020-01-23 13:34:37 +01:00
nftables.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
objc.nanorc tweaks: snip trailing whitespace that ended with a non-breaking space 2018-11-03 20:41:42 +01:00
ocaml.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
patch.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
perl.nanorc syntax: perl: avoid upsetting older glibcs with crafty range expression 2019-08-19 17:15:29 +02:00
php.nanorc syntaxes: recognize .ctp extension as a PHP file, and .cu as a C/C++ file 2019-08-08 12:02:07 +02:00
po.nanorc syntax: po: colorize numbers only when they form a self-contained word 2019-07-29 19:12:58 +02:00
postgresql.nanorc tweaks: fold a few pairs of regexes into each other 2018-11-03 21:32:07 +01:00
pov.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00
python.nanorc syntaxes: put the 'linter' and 'formatter' commands on a separate line 2019-11-04 20:56:41 +02:00
ruby.nanorc syntax: ruby: colorize also lowercase global/instance variables 2019-10-27 16:34:06 +01:00
rust.nanorc tweaks: sort two keywords strictly alphabetically 2019-09-29 15:11:15 +02:00
sh.nanorc syntax: sh: recognize shell rc files also in dedicated directories 2019-12-16 19:09:48 +01:00
spec.nanorc syntax: spec: add some keywords that were added in RPM 4.15 and 4.13 2020-02-23 15:12:04 +01:00
tcl.nanorc tweaks: condense two regexes in the Tcl syntax, and add a comment 2018-12-17 16:00:54 +01:00
tex.nanorc syntaxes: put the 'linter' and 'formatter' commands on a separate line 2019-11-04 20:56:41 +02:00
texinfo.nanorc syntaxes: remove several redundant end-of-line anchors from regexes 2018-11-03 21:12:44 +01:00
xml.nanorc syntaxes: remove quotes from each syntax name, and color it differently 2018-02-14 17:36:50 +01:00