[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/scala-mode 5299b4a 205/217: feat: add Scala 3 soft keyword
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/scala-mode 5299b4a 205/217: feat: add Scala 3 soft keywords (as regular keywords) |
Date: |
Sun, 29 Aug 2021 11:31:13 -0400 (EDT) |
branch: elpa/scala-mode
commit 5299b4ab0569094ee548ab7443534f5866cbef52
Author: Keith Pinson <keith.pinson@banno.com>
Commit: Keith Pinson <keith.pinson@banno.com>
feat: add Scala 3 soft keywords (as regular keywords)
---
scala-mode-syntax.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/scala-mode-syntax.el b/scala-mode-syntax.el
index 6d65008..995485b 100644
--- a/scala-mode-syntax.el
+++ b/scala-mode-syntax.el
@@ -288,7 +288,13 @@
"if" "implicit" "import" "lazy" "match" "new" "object"
"override" "package" "private" "protected" "return" "sealed"
"then" "throw" "trait" "try" "type" "val" "var" "while"
- "with" "yield" "inline") 'words))
+ "with" "yield"
+ ;; "Soft" keywords
https://dotty.epfl.ch/docs/internals/syntax.html#soft-keywords
+ ;; Presumably this means they do not apply in all contexts. Do
+ ;; not know of a way to support this in Emacs, so preferring
+ ;; supporting them everywhere, as regular keywords.
+ "as" "derives" "end" "extension" "inline" "opaque" "open"
+ "transparent" "using") 'words))
(defconst scala-syntax:other-keywords-re
(concat "\\(^\\|[^`'_]\\)\\(" scala-syntax:other-keywords-unsafe-re "\\)"))
- [nongnu] elpa/scala-mode 44772cb 196/217: fixed some compilation warnings, (continued)
- [nongnu] elpa/scala-mode 44772cb 196/217: fixed some compilation warnings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 9e5b8af 190/217: Operator characters ids cannot be adjoint to word constituent ids (#139), ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode a82f186 192/217: Removed duplicated defconst, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode cc960f3 197/217: fixed some markdown syntax mistakes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 9d3b56e 206/217: Merge pull request #161 from Kazark/scala3-keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode a4ed6b4 073/217: Merge pull request #28 from non/bug/fix-colon-operators, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 27459c3 080/217: Merge pull request #32 from evnm/insert-asterisk-in-multiline-comment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode e0341e9 199/217: Recognize worksheets as scala files, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 1ab5f64 212/217: fix comment indenting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 2f7b335 065/217: Fixes indenting of else body, ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 5299b4a 205/217: feat: add Scala 3 soft keywords (as regular keywords),
ELPA Syncer <=
- [nongnu] elpa/scala-mode 4014cf6 215/217: Don't make post-self-insert-hook local variable., ELPA Syncer, 2021/08/29
- [nongnu] elpa/scala-mode 598cb68 217/217: Merge pull request #169 from kurnevsky/post-self-insert-hook, ELPA Syncer, 2021/08/29