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 s ^\h*\K#\h* y jgi P } + try %{ execute-keys -draft k s ^\h*\K#\h* y jgi P } # wisely add end structure evaluate-commands -save-regs x %[ try %{ execute-keys -draft k s ^ \h + \" x y } catch %{ reg x '' }