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

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

[nongnu] elpa/nix-mode e53d99d840 064/500: Ignore '* chars in syntax pro


From: ELPA Syncer
Subject: [nongnu] elpa/nix-mode e53d99d840 064/500: Ignore '* chars in syntax propertize.
Date: Sat, 29 Jan 2022 08:26:36 -0500 (EST)

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

    Ignore '* chars in syntax propertize.
---
 nix-mode.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nix-mode.el b/nix-mode.el
index 966ce793ff..bc253f7185 100644
--- a/nix-mode.el
+++ b/nix-mode.el
@@ -140,6 +140,8 @@ If a close brace `}' ends an antiquote, the next character 
begins a string."
   (remove-text-properties start end '(syntax-table nil nix-syntax-antiquote 
nil))
   (funcall
    (syntax-propertize-rules
+    ("''['\\$\]" ;; ignore ''* characters
+     (0 (ignore (lambda () nil))))
     ("''"
      (0 (ignore (nix-syntax-propertize-multiline-string))))
     ("\\${"



reply via email to

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