[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/nix-mode 55ed31214a 053/500: Add "in" for closing.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/nix-mode 55ed31214a 053/500: Add "in" for closing. |
Date: |
Sat, 29 Jan 2022 08:26:35 -0500 (EST) |
branch: elpa/nix-mode
commit 55ed31214a9db9a700c792f883ded815e0e87280
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>
Add "in" for closing.
---
nix-mode.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/nix-mode.el b/nix-mode.el
index 6affefb98c..b3a186fdc0 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -175,8 +175,6 @@ If a close brace `}' ends an antiquote, the next character
begins a string."
(setq lets 0)
(setq ins 0)
(beginning-of-line)
- (if (looking-at "in")
- (setq ins (+ ins 1)))
(while (not (eq (point) (point-min)))
(forward-line -1)
(cond
@@ -199,7 +197,9 @@ If a close brace `}' ends an antiquote, the next character
begins a string."
(looking-at ")")
(looking-at "}")
(looking-at "''")
- (looking-at ","))))
+ (looking-at ",")
+ (looking-at "in[[:space:]]")
+ (looking-at "in$"))))
(defun nix-indent-level-is-hanging ()
"Is hanging?"
- [nongnu] elpa/nix-mode 79a3715c3d 303/500: Improve handling of 'in' after a hanging 'let'., (continued)
- [nongnu] elpa/nix-mode 79a3715c3d 303/500: Improve handling of 'in' after a hanging 'let'., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 6e4f66de1d 317/500: Add all-packages.nix test case, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode f938aeaeb6 324/500: Fix buggy implementation of nix-smie--anchor., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 63fbbf27bf 326/500: Improve indentation of closing parentheses., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode b12aeada41 334/500: Don’t use smie-indent-line when nix-mode-use-smie is nil, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode e5abdd41e4 352/500: add json-mode dependency, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ab49f46754 027/500: Redo keymap, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 81e8c3dea6 032/500: cleanup formatting, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 09d40e95e2 037/500: Skip braces with hanging indents, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode f29d9865e4 055/500: Fixup hanging indents., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 55ed31214a 053/500: Add "in" for closing.,
ELPA Syncer <=
- [nongnu] elpa/nix-mode ec0546a41d 051/500: Tweak hanging indent, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 0f94476b7e 117/500: nix-syntax-match-antiquote: Handle case where point has the property, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 183d4212e2 134/500: Fix fontification bug, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 42632ee471 168/500: Remove misc/ folder, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 93bfb4428d 182/500: Add nix-build function., ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 9d4eb7d199 274/500: Make find-file-at-point support <nixpkgs>, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 54f28871a3 376/500: Fix issue #70, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode ef64fa293b 388/500: Set nix-version to nil, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode 218c885d78 414/500: Merge pull request #116 from taku0/update-install-nix-action, ELPA Syncer, 2022/01/29
- [nongnu] elpa/nix-mode d6e895969b 400/500: Set the 'LD_LIBRARY_PATH' environment variable for mkShell, ELPA Syncer, 2022/01/29