branch: elpa/nix-mode
commit e53d99d8405b9889b680addf3483ba8f28b8eaea
Author: Matthew Bauer <[email protected]>
Commit: Matthew Bauer <[email protected]>
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))))
("\\${"