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

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

[nongnu] elpa/nix-mode 460cc23161 075/500: Make " be treated as generic


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode 460cc23161 075/500: Make " be treated as generic | syntax class.
Date: Sat, 29 Jan 2022 08:26:37 -0500 (EST)

branch: elpa/nix-mode
commit 460cc231610d7134f26ec259e54d4668aebb58c1
Author: Matthew Bauer <mjbauer95@gmail.com>
Commit: Matthew Bauer <mjbauer95@gmail.com>

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



reply via email to

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