[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mmm-mode 3e4b068 4/7: Prioritize mason-one-line-comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mmm-mode 3e4b068 4/7: Prioritize mason-one-line-comment over mason-inline |
Date: |
Tue, 29 Dec 2020 20:57:15 -0500 (EST) |
branch: externals/mmm-mode
commit 3e4b06859b3de185d23a907ca8ab5687c2a69fb5
Author: Dmitry Gutov <dgutov@yandex.ru>
Commit: Dmitry Gutov <dgutov@yandex.ru>
Prioritize mason-one-line-comment over mason-inline
Fixes #105
---
mmm-mason.el | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/mmm-mason.el b/mmm-mason.el
index 240ddfc..c076c35 100644
--- a/mmm-mason.el
+++ b/mmm-mason.el
@@ -118,6 +118,14 @@ Saves the name of the tag matched.")
(?a mason-<%args> ?. . "args")
(?f mason-<%flags> ?. . "flags")
(?r mason-<%attr> ?. . "attr")))
+ (mason-one-line-comment
+ :submode text-mode
+ :face mmm-comment-submode-face
+ :front "^%#"
+ :back "\n"
+ :insert ((?# mason-%-comment nil (mmm-mason-start-line)
+ @ "%" @ "# " _ @ '(mmm-mason-end-line) "\n" @)
+ (?3 mason-%-comment ?# . nil)))
(mason-inline
:submode perl
:face mmm-output-submode-face
@@ -133,14 +141,6 @@ Saves the name of the tag matched.")
:back "&>"
:insert ((?& mason-<&-&> nil @ "<&" @ " " _ " " @ "&>" @)
(?7 mason-<&-&> ?% . nil)))
- (mason-one-line-comment
- :submode text-mode
- :face mmm-comment-submode-face
- :front "^%#"
- :back "\n"
- :insert ((?# mason-%-comment nil (mmm-mason-start-line)
- @ "%" @ "# " _ @ '(mmm-mason-end-line) "\n" @)
- (?3 mason-%-comment ?# . nil)))
(mason-one-line
:submode perl
:face mmm-code-submode-face
- [elpa] externals/mmm-mode updated (8aed53f -> 0d00cdf), ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode 77e15d7 2/7: Add typescript-mode vars, ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode e5456ed 1/7: Update html-erb tests, ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode b45a864 3/7: mmm-update-mode-info: Call font-lock-set-defaults once per submode, ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode 3e4b068 4/7: Prioritize mason-one-line-comment over mason-inline,
ELPA Syncer <=
- [elpa] externals/mmm-mode 58c2267 5/7: mmm-save-local-variables: Add nxml-prolog-end, ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode 9ffe364 6/7: Refontify lazily, ELPA Syncer, 2020/12/29
- [elpa] externals/mmm-mode 0d00cdf 7/7: Add more vars for C mode, ELPA Syncer, 2020/12/29