[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode 79622d7 123/496: Merge pull request #32 from ap
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode 79622d7 123/496: Merge pull request #32 from ap4y/fix_nested_multi_line_comments |
Date: |
Sun, 29 Aug 2021 11:33:20 -0400 (EDT) |
branch: elpa/swift-mode
commit 79622d700874e1ec2807d3963ee19e93920ec78b
Merge: 6abb788 d77b2df
Author: Bozhidar Batsov <bozhidar@batsov.com>
Commit: Bozhidar Batsov <bozhidar@batsov.com>
Merge pull request #32 from ap4y/fix_nested_multi_line_comments
Enable nested flag 'n' for C-style multi-line comments
---
swift-mode.el | 4 ++--
test/font-lock-tests.el | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/swift-mode.el b/swift-mode.el
index 24697d1..afc9574 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -563,8 +563,8 @@ You can send text to the REPL process from other buffers
containing source.
(modify-syntax-entry ?: "_" table)
;; Comments
- (modify-syntax-entry ?/ ". 124b" table)
- (modify-syntax-entry ?* ". 23" table)
+ (modify-syntax-entry ?/ ". 124b" table)
+ (modify-syntax-entry ?* ". 23n" table)
(modify-syntax-entry ?\n "> b" table)
;; Parenthesis, braces and brackets
diff --git a/test/font-lock-tests.el b/test/font-lock-tests.el
index d1ddafc..ed760d4 100644
--- a/test/font-lock-tests.el
+++ b/test/font-lock-tests.el
@@ -195,6 +195,8 @@ test will fail."
(check-face attributes/has-keyword-face/1 font-lock-keyword-face
"{{@IBAction}} func")
+(check-face comments/nested-multiline-comments-has-comments-face/1
font-lock-comment-face "/*/* text */{{*/}}")
+
(provide 'font-lock-tests)
;;; font-lock-tests.el ends here
- [nongnu] elpa/swift-mode 1268425 455/496: Add links to various formatters, (continued)
- [nongnu] elpa/swift-mode 1268425 455/496: Add links to various formatters, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a84f5c8 460/496: Support multi-parttern catch clauses, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode edec7d5 471/496: Suppress a doccheck warning for old versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b93b97e 466/496: Bump version to 8.1.1, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0bc8d8d 477/496: Use isAvailable when reading simctl device JSON, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 800efe2 496/496: Fix tags of customization, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 370caa7 494/496: Update copyright notices, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 69b8934 080/496: Update readme, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 37fb4d0 119/496: Release 0.2.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ca6437a 116/496: Merge pull request #29 from ap4y/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 79622d7 123/496: Merge pull request #32 from ap4y/fix_nested_multi_line_comments,
ELPA Syncer <=
- [nongnu] elpa/swift-mode 7826550 124/496: Fix code alignment, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode dd8f793 133/496: Make multi-line dot statement offset customisable value, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2d478bf 140/496: Merge pull request #46 from ap4y/multiline_op_statemenets, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode e09694f 158/496: Release 0.3.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9b6f599 146/496: Apply swift-indent-offset to multi-line class definitions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4286ff9 148/496: Merge pull request #52 from ap4y/fix_47, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0f57a7d 179/496: Add lexer rule for ":" token., ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2d0194e 184/496: Correct several indentation cases for class defitinion, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f8190d6 186/496: Extract function into separate grammar and add return typo to the, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fb2f48e 187/496: Add rule for assignment expression, ELPA Syncer, 2021/08/29