emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 3ef4647aa2 052/500: Fixup lets/ins counting.


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 3ef4647aa2 052/500: Fixup lets/ins counting.
Date: Sat, 29 Jan 2022 08:26:35 -0500 (EST)

branch: elpa/nix-mode
commit 3ef4647aa26768c2175628eca7a9fe921968e087
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

    Fixup lets/ins counting.
---
 nix-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nix-mode.el b/nix-mode.el
index dcb9887460..6affefb98c 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -175,6 +175,8 @@ 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]