aboutsummaryrefslogtreecommitdiffstats
path: root/after/plugin/iron.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-06-03 08:31:26 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-06-03 08:31:26 +0200
commit4051346c384042e6867d72b1ee6cbc6aed2362d3 (patch)
treeb9149df77b63b571b787552eef5acad24bd7e863 /after/plugin/iron.lua
parente271d3a3ff8234a68030a6aad8bf586f44f70b7e (diff)
downloadnvim-conf-4051346c384042e6867d72b1ee6cbc6aed2362d3.tar.gz
nvim-conf-4051346c384042e6867d72b1ee6cbc6aed2362d3.zip
Update iron base on deprecated config
Diffstat (limited to 'after/plugin/iron.lua')
-rw-r--r--after/plugin/iron.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/after/plugin/iron.lua b/after/plugin/iron.lua
index 3f7ad0b..401c23b 100644
--- a/after/plugin/iron.lua
+++ b/after/plugin/iron.lua
@@ -7,8 +7,6 @@ end
iron.setup({
config = {
highlight_last = "IronLastSent",
- -- If iron should expose `<plug>(...)` mappings for the plugins
- should_map_plug = false,
-- Whether a repl should be discarded or not
scratch_repl = true,
close_window_on_exit = true,
@@ -21,6 +19,9 @@ iron.setup({
command = { "node" },
},
php = {
+ command = { "psysh" },
+ },
+ tinker = {
command = { "sail", "tinker" },
},
},
@@ -32,7 +33,7 @@ iron.setup({
send_motion = "<space>sc",
visual_send = "<space>sc",
send_line = "<space>sl",
- repeat_cmd = "<space>s.",
+ send_mark = "<space>s.",
cr = "<space>s<cr>",
interrupt = "<space>s<space>",
exit = "<space>sq",