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

    Make sure everything starts at beginning of line.
---
 nix-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nix-mode.el b/nix-mode.el
index c77c3a6602..b9ca6f5612 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -153,6 +153,8 @@ If a close brace `}' ends an antiquote, the next character 
begins a string."
   "Find indent level based on parens."
   (setq n 0)
   (save-excursion
+    (beginning-of-line)
+
     (setq p1 (point))
     (setq p2 (nth 1 (syntax-ppss)))
 

Reply via email to