[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/yaml-mode 162f7e4 082/124: Treat alias nodes as punctuatio
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/yaml-mode 162f7e4 082/124: Treat alias nodes as punctuation |
Date: |
Sun, 29 Aug 2021 11:36:17 -0400 (EDT) |
branch: elpa/yaml-mode
commit 162f7e4c4a6062579b8681fcf0f2f5b4501e5ff4
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Wilfred Hughes <me@wilfred.me.uk>
Treat alias nodes as punctuation
Previously, Emacs did not understand that &foo and *foo related to the
same symbol, so tools like highlight-symbol-mode did not work.
Relevant section of the YAML spec:
http://yaml.org/spec/1.2/spec.html#id2786196
---
yaml-mode.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/yaml-mode.el b/yaml-mode.el
index 615de6f..90e2109 100644
--- a/yaml-mode.el
+++ b/yaml-mode.el
@@ -203,6 +203,8 @@ that key is pressed to begin a block literal."
(modify-syntax-entry ?\\ "\\" syntax-table)
(modify-syntax-entry ?- "_" syntax-table)
(modify-syntax-entry ?_ "_" syntax-table)
+ (modify-syntax-entry ?& "." syntax-table)
+ (modify-syntax-entry ?* "." syntax-table)
(modify-syntax-entry ?\( "." syntax-table)
(modify-syntax-entry ?\) "." syntax-table)
(modify-syntax-entry ?\{ "(}" syntax-table)
- [nongnu] elpa/yaml-mode 737c7fc 034/124: Remove default C-j binding, (continued)
- [nongnu] elpa/yaml-mode 737c7fc 034/124: Remove default C-j binding, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode fb17c37 036/124: Bumping version to 0.0.10, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 34b6367 041/124: Use font-lock-flush when available, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode a817e46 045/124: Bumping version to 0.0.12, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 93dd95c 051/124: remove regexp details from test-file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode e9937d2 063/124: Backquote FTW, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 3dc2212 065/124: Remove obsolete `font-lock-syntactic-keywords` use, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 8d1f218 071/124: Spelling fix, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 5abb2f4 078/124: update yaml-mode-version, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 10dddc5 080/124: Fix typo in yaml-mode-version docstring, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 162f7e4 082/124: Treat alias nodes as punctuation,
ELPA Syncer <=
- [nongnu] elpa/yaml-mode 756e64b 084/124: Don't consider a line a document delimiter if it has leading whitespace, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 78b3ba5 095/124: fill while in a comment should behave as in text modes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 20d12a2 001/124: init, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 00ac9e5 116/124: Merge pull request #67 from HParker/fix-comment-indent, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 6694896 002/124: change e-mail, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 67348f3 014/124: dash (-) is a word character, see YAML spec 1.2 section 5.6, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 37469ca 015/124: Changed versions., ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode c7624d4 018/124: added *.elc to .gitignore, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 52d6d57 019/124: Merge pull request #3 from arthuraa/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/yaml-mode 5eae0c1 031/124: Changed version to 0.0.9, ELPA Syncer, 2021/08/29