branch: elpa/nix-mode
commit 32929d9aeddc42264049b5d030f9a9c9a6b53565
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Indent relative for string
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index 07996b98fd..1a58089713 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -166,7 +166,7 @@ If a close brace `}' ends an antiquote, the next character
begins a string."
(interactive)
(cond
;; string
- ((nth 3 (syntax-ppss)) nil)
+ ((nth 3 (syntax-ppss)) (indent-relative))
;; comment
((nth 4 (syntax-ppss)) nil)