branch: elpa/systemd
commit fa1277d1cd955b031a943d52d370e97aec3f2cac
Author: Mark Oteiza <mvote...@udel.edu>
Commit: Mark Oteiza <mvote...@udel.edu>

    add reminder
    
    The new regex is not too hard to generate with some set/combinatorics
    fun, but perhaps going about this a different way would be better
    
      (let ((s (delq nil (powerset '("@" "-" "+")))))
        (concat "="
         (regexp-opt
          (mapcar (lambda (ls) (apply #'concat ls))
                  (apply #'append (mapcar #'permutations s)))
         "\\(?1:")))
---
 systemd.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/systemd.el b/systemd.el
index 98fccfe..c1f8a8c 100644
--- a/systemd.el
+++ b/systemd.el
@@ -243,6 +243,7 @@ file, defaulting to the link under point, if any."
       ;; specifiers
       ("%[nNpPiIfcrRtuUhsmbHv%]" 0 'font-lock-constant-face)
       ;; exec prefixes
+      ;; TODO account for @ being a prefix now
       ("=\\(-@\\|@-\\|[@-]\\)" 1 'font-lock-negation-char-face)))
   "Default expressions to highlight in `systemd-mode'.
 See systemd.unit(5) for details on unit file syntax.")

Reply via email to