[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yaml-mode ef3546b 047/124: allow spaces before '-' in yaml
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yaml-mode ef3546b 047/124: allow spaces before '-' in yaml-scalar-context-re |
Date: |
Sun, 29 Aug 2021 11:36:10 -0400 (EDT) |
branch: elpa/yaml-mode
commit ef3546b64d07e8ac31769be6e78b3598d1585d84
Author: antalk2 <antalk2@gmail.com>
Commit: antalk2 <antalk2@gmail.com>
allow spaces before '-' in yaml-scalar-context-re
# to recognize (indent and color) lala lines below
- aa: dada
bb:
- cc: |
lala
lala
---
yaml-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/yaml-mode.el b/yaml-mode.el
index 15f3872..c8a3344 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -144,7 +144,7 @@ that key is pressed to begin a block literal."
"Regexp matching a single YAML hash key.")
(defconst yaml-scalar-context-re
- (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?:[-,] +\\)+\\) *"
+ (concat "\\(?:^\\(?:--- \\)?\\|{\\|\\(?: *[-,] +\\)+\\) *"
"\\(?:" yaml-bare-scalar-re " *: \\)?")
"Regexp indicating the begininng of a scalar context.")
- [nongnu] branch elpa/yaml-mode created (now 63b637f), ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode c92bfe4 007/124: fixed for release 0.0.3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 45e52cb 006/124: merge TEST-JULIAN-PATCH, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode f297efe 012/124: YAML imenu outline integration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 2c0359f 004/124: change VERSION, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 18c9135 020/124: replace `last-command-char` to `last-command-event`, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode ef3546b 047/124: allow spaces before '-' in yaml-scalar-context-re,
ELPA Syncer <=
- [nongnu] elpa/yaml-mode bdc47a4 056/124: added two more test files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 236832c 068/124: Merge branch 'liangfu-master', ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode f378589 079/124: Merge pull request #45 from dunn/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode f991710 086/124: Support for apostrophe in words, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode b83482e 089/124: Support double quote in implicit keys, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode df66d7f 091/124: Merge pull request #59 from Kaali/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode fc7bac0 092/124: Formatting fixes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 2522b3c 101/124: Fix typos, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 8105718 105/124: Simplify the implementation; move a comment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode add6156 113/124: yaml-mode-syntax-propertize-function: Clear ppss cache, ELPA Syncer, 2021/08/29