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

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

[nongnu] elpa/nix-mode e413069e02 130/500: Fixup some corner cases in in


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode e413069e02 130/500: Fixup some corner cases in indentation
Date: Sat, 29 Jan 2022 08:26:48 -0500 (EST)

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

    Fixup some corner cases in indentation
---
 nix-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nix-mode.el b/nix-mode.el
index af5a7b03e1..b99b2efafd 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -316,6 +316,7 @@
         (skip-chars-backward "\n[:space:]"))
 
       (not (or
+            (looking-back "{" 1)
             (looking-back "}" 1)
             (looking-back ":" 1)
             (looking-back ";" 1))))))



reply via email to

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