branch: elpa/systemd
commit d7a9c1dd9f3ab441c9c3a29ef063c9a9ede69ede
Author: Mark Oteiza <[email protected]>
Commit: Mark Oteiza <[email protected]>
fontify "-" and "@" prefixes
---
systemd.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/systemd.el b/systemd.el
index 3176116..f77870c 100644
--- a/systemd.el
+++ b/systemd.el
@@ -86,7 +86,10 @@
("=\\(1\\|yes\\|true\\|on\\|0\\|no\\|false\\|off\\)$"
1 'font-lock-constant-face)
;; specifiers
- ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face))
+ ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face)
+ ;; exec prefixes
+ ("=\\(-@\\|@-\\|[@-]\\)"
+ 1 'font-lock-negation-char-face))
"Default expressions to highlight in `systemd-mode'. See systemd.unit(5)
for details on unit file syntax.")