branch: elpa/nix-mode
commit e413069e02578b34bc3e3742f5ebc0dd528e2398
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>

    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