branch: elpa/nix-mode
commit d8b088a4e2f8a8cc71c1f6d98f9cd11819f3e64d
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Disable string indenting again
---
nix-mode.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/nix-mode.el b/nix-mode.el
index 843c3b7792..95c5afdc1d 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -176,6 +176,11 @@ If a close brace `}' ends an antiquote, the next character
begins a string."
(beginning-of-line)
(nth 4 (syntax-ppss))) nil)
+ ;; string
+ ((save-excursion
+ (beginning-of-line)
+ (nth 3 (syntax-ppss))) nil)
+
;; else
(t
(indent-line-to (nix-indent-level)))))