[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/systemd 6fd29c5 070/131: font lock keywords: comments and
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/systemd 6fd29c5 070/131: font lock keywords: comments and sections |
Date: |
Sun, 29 Aug 2021 11:35:17 -0400 (EDT) |
branch: elpa/systemd
commit 6fd29c5c85def7e9bc853c042eae82d0ba4f7fc8
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@udel.edu>
font lock keywords: comments and sections
* let comments be prefixed with whitespace
* match ignored "X-" section headers
---
systemd.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systemd.el b/systemd.el
index aa67670..48bcd2d 100644
--- a/systemd.el
+++ b/systemd.el
@@ -317,12 +317,12 @@ file, defaulting to the link under point, if any."
(`post-completion (if (not (systemd-buffer-section-p)) (insert "=")))))
(defvar systemd-font-lock-keywords
- `(("^\\([#;]\\)\\(.*\\)$"
+ `(("^[[:space:]]\\([#;]\\)\\(.*\\)$"
(1 'font-lock-comment-delimiter-face)
(2 'font-lock-comment-face))
("\\\\$" 0 'font-lock-warning-face) ; line break
;; sections
- ("^\\(\\[\\(?:X-\\)?[[:upper:]][[:alnum:]]+\\]\\)"
+ ("^\\(\\[\\([[:upper:]][[:alnum:]]+\\|X-.*?\\)\\]\\)"
1 'font-lock-type-face)
;; keys
("^\\([[:upper:]][[:alnum:]]+\\)="
- [nongnu] elpa/systemd b6ae63a 131/131: add specifiers (leave obsoleted ones in for now), (continued)
- [nongnu] elpa/systemd b6ae63a 131/131: add specifiers (leave obsoleted ones in for now), ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 0416fe4 130/131: drop some unneeded eval-when-compile, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 50c63c2 026/131: allow cycling completions in `systemd-doc-open`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 612c3de 027/131: double bump, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 347c157 031/131: lexical binding, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd e7a2efb 021/131: mention `package-install-file` in README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd ed00e3f 029/131: require 24.4 (with-eval-after-load), ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd ef24360 037/131: spaces unneeded in syntax table modifications, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 0c871fc 042/131: Use four different candidate lists:, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 602d9d3 050/131: reword some commentary, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 6fd29c5 070/131: font lock keywords: comments and sections,
ELPA Syncer <=
- [nongnu] elpa/systemd ff523bc 071/131: woops, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 2e6309d 002/131: add systemd-mode.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 37541b2 003/131: add facility for browsing documentation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 930e82e 100/131: font lock additional exec prefix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 9cfd315 102/131: simplify, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 1e7567a 117/131: prepare v1.6, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 077aedd 125/131: systemd 244 directives, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 53b44ad 001/131: initial commit, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 7bdb35a 032/131: mention package archive in README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 3cb77a5 013/131: add a link, ELPA Syncer, 2021/08/29