From d0b10afd037270ff80a2292eb31c93eb375c2085 Mon Sep 17 00:00:00 2001 From: Justin Smestad Date: Sat, 30 May 2020 15:40:33 -0600 Subject: [PATCH 1/3] Add ~L liveview sigil --- elixir-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir-mode.el b/elixir-mode.el index 34074cf0..26c7fece 100644 --- a/elixir-mode.el +++ b/elixir-mode.el @@ -164,7 +164,7 @@ (or "_" "__MODULE__" "__DIR__" "__ENV__" "__CALLER__" "__block__" "__aliases__") symbol-end)) - (sigils . ,(rx "~" (or "B" "C" "D" "N" "R" "S" "T" "U" "b" "c" "r" "s" "w"))))) + (sigils . ,(rx "~" (or "B" "C" "D" "L" "N" "R" "S" "T" "U" "b" "c" "r" "s" "w"))))) (defmacro elixir-rx (&rest sexps) (let ((rx-constituents (append elixir-rx-constituents rx-constituents))) From 9bfb11d85a1f79467cc45f5f05713ad6b135ff91 Mon Sep 17 00:00:00 2001 From: Justin Smestad Date: Fri, 12 Jun 2020 09:26:07 -0600 Subject: [PATCH 2/3] Add sigil ~E support for EEx --- elixir-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir-mode.el b/elixir-mode.el index 26c7fece..b33896d8 100644 --- a/elixir-mode.el +++ b/elixir-mode.el @@ -164,7 +164,7 @@ (or "_" "__MODULE__" "__DIR__" "__ENV__" "__CALLER__" "__block__" "__aliases__") symbol-end)) - (sigils . ,(rx "~" (or "B" "C" "D" "L" "N" "R" "S" "T" "U" "b" "c" "r" "s" "w"))))) + (sigils . ,(rx "~" (or "B" "C" "D" "E" "L" "N" "R" "S" "T" "U" "b" "c" "r" "s" "w"))))) (defmacro elixir-rx (&rest sexps) (let ((rx-constituents (append elixir-rx-constituents rx-constituents))) From 002418f0c45d14f86698c4cdc95bc3004c26a4b5 Mon Sep 17 00:00:00 2001 From: Justin Smestad Date: Fri, 12 Jun 2020 09:33:38 -0600 Subject: [PATCH 3/3] Add sigil ~e as I see its EEx as well --- elixir-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elixir-mode.el b/elixir-mode.el index b33896d8..48e6f24b 100644 --- a/elixir-mode.el +++ b/elixir-mode.el @@ -164,7 +164,7 @@ (or "_" "__MODULE__" "__DIR__" "__ENV__" "__CALLER__" "__block__" "__aliases__") symbol-end)) - (sigils . ,(rx "~" (or "B" "C" "D" "E" "L" "N" "R" "S" "T" "U" "b" "c" "r" "s" "w"))))) + (sigils . ,(rx "~" (or "B" "C" "D" "E" "L" "N" "R" "S" "T" "U" "b" "c" "e" "r" "s" "w"))))) (defmacro elixir-rx (&rest sexps) (let ((rx-constituents (append elixir-rx-constituents rx-constituents)))