branch: elpa/nix-mode
commit 588246b499b45f6a799d63fe3cb4fcb4492a2732
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Fix escaping of characters
---
nix-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nix-mode.el b/nix-mode.el
index 5389563730..e55fb15ff1 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -476,7 +476,7 @@ The hook `nix-mode-hook' is run when Nix mode is started.
;; Recommended by nixpkgs manual:
https://nixos.org/nixpkgs/manual/#sec-syntax
(setq-local indent-tabs-mode nil)
(setq-local tab-width 2)
- (setq-local electric-indent-chars '(?\n ?{ ?} ?[ ?] ?( ?)))
+ (setq-local electric-indent-chars '(?\n ?{ ?} ?\[ ?\] ?\( ?\)))
;; Font lock support.
(setq-local font-lock-defaults '(nix-font-lock-keywords))