emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/nix-mode 588246b499 229/500: Fix escaping of characters


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 588246b499 229/500: Fix escaping of characters
Date: Sat, 29 Jan 2022 08:27:09 -0500 (EST)

branch: elpa/nix-mode
commit 588246b499b45f6a799d63fe3cb4fcb4492a2732
Author: Matthew Bauer <matthew.bauer@obsidian.systems>
Commit: Matthew Bauer <matthew.bauer@obsidian.systems>

    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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]