[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode d77b2df 122/496: Enable nested flag 'n' for C-s
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode d77b2df 122/496: Enable nested flag 'n' for C-style multi-line comments |
Date: |
Sun, 29 Aug 2021 11:33:20 -0400 (EDT) |
branch: elpa/swift-mode
commit d77b2df34635c60e716329c2b80f9762699ea7ea
Author: ap4y <lod@pisem.net>
Commit: ap4y <lod@pisem.net>
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 5f97c99 060/496: Add tests, (continued)
- [nongnu] elpa/swift-mode 5f97c99 060/496: Add tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode c3a0a66 065/496: Fix custom variable types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a17f9e8 066/496: Rename predicate functions ('?' -> -p), ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8dc7eb9 078/496: Clean up after pull request, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 98b627a 075/496: Add @ap4y to contributors, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 812b4f6 084/496: Remove redundant hook definition, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8fc94c7 097/496: Merge pull request #25 from ap4y/smie_indentation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 889586c 102/496: Merge pull request #28 from ap4y/highlight_interpolation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 0fcf3ab 115/496: Restructure test for multi-line hash in method call to test against case, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode b0f5d13 113/496: Make commas non sticky, fixes indentation issues with optionals and, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d77b2df 122/496: Enable nested flag 'n' for C-style multi-line comments,
ELPA Syncer <=
- [nongnu] elpa/swift-mode b43c1e2 129/496: Merge pull request #38 from ap4y/fix_36, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode a028f68 127/496: Add "_" to the allowed symbols in string interpolation expression, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2593659 131/496: Improve indentation for multi-line dot expression with dot positioned on, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 835c3d3 132/496: Merge pull request #40 from ap4y/improve_37, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2eb3952 136/496: Merge pull request #45 from ap4y/dot_in_string_interpolation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 5e3ab8c 139/496: Apply swift-indent-multiline-statement-offset to the multi-line, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4e615b7 143/496: Merge pull request #50 from ap4y/string_interpolation_all_op, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 9c716c1 155/496: Update README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1753f23 149/496: Merge pull request #53 from ap4y/improve_smie_dot_exp_rule, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 8492a3d 157/496: Update copyright, ELPA Syncer, 2021/08/29