[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dart-mode 67550e5 030/192: Fix indentation for try as well
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dart-mode 67550e5 030/192: Fix indentation for try as well. |
Date: |
Sun, 29 Aug 2021 11:01:44 -0400 (EDT) |
branch: elpa/dart-mode
commit 67550e51a6b8bd0a900043039e3fd15e9bc75740
Author: Nathan Weizenbaum <nweiz@google.com>
Commit: Nathan Weizenbaum <nweiz@google.com>
Fix indentation for try as well.
---
dart-mode.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dart-mode.el b/dart-mode.el
index 011c480..22f5eb6 100644
--- a/dart-mode.el
+++ b/dart-mode.el
@@ -218,8 +218,9 @@ SYNTAX-GUESS is the output of `c-guess-basic-syntax'."
;; Both anonymous and named functions have a ")" immediately before
the
;; code block.
(= (char-before) ?\))
- ;; "else" is the only keyword that comes immediately before a block.
- (looking-back "\\<else\\>")
+ ;; "else" and "try" are the only keywords that come immediately before
+ ;; a block.
+ (looking-back "\\<\\(else\\|try\\)\\>")
;; CC is good at figuring out if we're in a class.
(assq 'inclass syntax-guess))))))
- [nongnu] elpa/dart-mode c523992 004/192: Handle map indentation with identifiers., (continued)
- [nongnu] elpa/dart-mode c523992 004/192: Handle map indentation with identifiers., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 30f9326 007/192: Make constants better., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 5ce38b7 009/192: Add a couple known bugs., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 64a573f 010/192: Require 'cl when compiling., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b42c2ca 014/192: Another known bug., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 4d67ba8 017/192: Fix the closing comment., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 1473515 019/192: Bump to version 0.3 for release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 06c2786 024/192: Bump version to 0.4., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 2410a15 025/192: Fix =>-style method indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 9ee0bf1 028/192: Bump version to 0.5., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 67550e5 030/192: Fix indentation for try as well.,
ELPA Syncer <=
- [nongnu] elpa/dart-mode 4310054 038/192: Bump version to 0.6., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 464e07b 039/192: Get rid of a now-inapplicable known bug., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode cad31a5 040/192: Get basic ${} fontification working., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 8d83554 042/192: Properly indent lambdas., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 148f707 048/192: Add a couple known issues., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode f5fb993 049/192: Fix the case indentation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode 5c09eae 051/192: Add support for illusori's flymake-warn-line-regexp., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode b7dc54c 052/192: Bump version to 0.8., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode eca6432 058/192: Bump version to 0.10., ELPA Syncer, 2021/08/29
- [nongnu] elpa/dart-mode a935c27 059/192: don't advise c-parse-state if c-parse-state-1 isn't defined., ELPA Syncer, 2021/08/29