[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/swift-mode abbd06e 478/496: Fix error on indenting a closi
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/swift-mode abbd06e 478/496: Fix error on indenting a closing paren outside strings |
Date: |
Sun, 29 Aug 2021 11:34:31 -0400 (EDT) |
branch: elpa/swift-mode
commit abbd06ef808d339db1d03b4a1ea0244d54ffc05b
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>
Fix error on indenting a closing paren outside strings
---
swift-mode-indent.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/swift-mode-indent.el b/swift-mode-indent.el
index 84cb45e..a5ae4a2 100644
--- a/swift-mode-indent.el
+++ b/swift-mode-indent.el
@@ -1812,7 +1812,7 @@ See `indent-new-comment-line' for SOFT."
electric-indent-mode
(= last-command-event ?\))
(save-excursion (backward-char) (skip-syntax-backward " ") (bolp))
- (= (swift-mode:chunk:start (swift-mode:chunk-after)) (1- (point))))
+ (eq (swift-mode:chunk:start (swift-mode:chunk-after)) (1- (point))))
(indent-according-to-mode))
;; Indents electrically after newline inside strings and comments.
- [nongnu] elpa/swift-mode 021fdb1 414/496: Tweak mark-defun, (continued)
- [nongnu] elpa/swift-mode 021fdb1 414/496: Tweak mark-defun, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode f62cd58 423/496: Change standard values for executables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cde97e2 421/496: Bump version to 7.1.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 60e5cf7 428/496: Remove redundant code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 4a56636 432/496: Update test data, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 7954107 453/496: Small fixes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode fe84a38 448/496: Add links to sourcekit-lsp and swift-playground-mode, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode cba6718 472/496: Exclude 25.1 from GitHub Action, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 19d909b 468/496: Migrate to Eldev, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 02a1726 476/496: Introduce some font-lock tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode abbd06e 478/496: Fix error on indenting a closing paren outside strings,
ELPA Syncer <=
- [nongnu] elpa/swift-mode ad12a30 486/496: Remove Cask from README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 1b47a09 495/496: Bump version to 8.3.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 561cacb 043/496: Code style, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 396f297 058/496: Fix test docstring typo, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 60956cb 081/496: fixup! Add swift repl commands to mode map, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode d59cae7 355/496: Fix indentation of string interpolations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 2aeef85 425/496: Update copyright notice, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 490ab34 051/496: Simplify indentation command, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode 66bfbc5 056/496: Add indentation tests, add makefile runner task, ELPA Syncer, 2021/08/29
- [nongnu] elpa/swift-mode ead0ae5 055/496: Fix spelling error in readme, ELPA Syncer, 2021/08/29