branch: elpa/nix-mode
commit 460cc231610d7134f26ec259e54d4668aebb58c1
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
Make " be treated as generic | syntax class.
We want the " to be opened and closed like normal with antiquote. Normal
prog-mode treats " as a special case that can only be closed with
another ".
---
nix-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/nix-mode.el b/nix-mode.el
index 0af617d135..f1f76d54cd 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -87,6 +87,7 @@
(modify-syntax-entry ?* ". 23" table)
(modify-syntax-entry ?# "< b" table)
(modify-syntax-entry ?\n "> b" table)
+ (modify-syntax-entry ?\" "|") ;; let " be opened/closed by antiquotes
table)
"Syntax table for Nix mode.")