From bb081e6779c9c040cd3655e4b0359f5ddbe30e3a Mon Sep 17 00:00:00 2001 From: Jonathan Arnett Date: Fri, 4 Dec 2020 12:09:12 -0500 Subject: [PATCH] Allow all sigils to be delimited by heredocs --- elixir-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir-mode.el b/elixir-mode.el index 66a101ac..0d5f32f4 100644 --- a/elixir-mode.el +++ b/elixir-mode.el @@ -265,7 +265,7 @@ is used to limit the scan." (unless (elixir-syntax-in-string-or-comment-p) (let ((heredoc-p (save-excursion (goto-char (match-beginning 0)) - (looking-at-p "~[sS]\\(?:'''\\|\"\"\"\\)")))) + (looking-at-p "~[BCDELNRSTUbcersw]\\(?:'''\\|\"\"\"\\)")))) (unless heredoc-p (forward-char 1) (let* ((start-delim (char-after (1- (point))))