summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rc/filetype/elixir.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/elixir.kak b/rc/filetype/elixir.kak
index 692de2d2..e62ca429 100644
--- a/rc/filetype/elixir.kak
+++ b/rc/filetype/elixir.kak
@@ -95,7 +95,7 @@ define-command -hidden elixir-trim-indent %{
define-command -hidden elixir-insert-on-new-line %[
evaluate-commands -no-hooks -draft -itersel %[
# copy '#' comment prefix and following white spaces
- try %{ exec -draft k <a-x> s ^\h*\K#\h* <ret> y jgi P }
+ try %{ execute-keys -draft k <a-x> s ^\h*\K#\h* <ret> y jgi P }
# wisely add end structure
evaluate-commands -save-regs x %[
try %{ execute-keys -draft k <a-x> s ^ \h + <ret> \" x y } catch %{ reg x '' }