diff --git a/flake.lock b/flake.lock index 350374d..84e5216 100644 --- a/flake.lock +++ b/flake.lock @@ -395,11 +395,11 @@ ] }, "locked": { - "lastModified": 1727826117, - "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=", + "lastModified": 1730504689, + "narHash": "sha256-hgmguH29K2fvs9szpq2r3pz2/8cJd2LPS+b4tfNFCwE=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1", + "rev": "506278e768c2a08bec68eb62932193e341f55c90", "type": "github" }, "original": { @@ -752,11 +752,11 @@ ] }, "locked": { - "lastModified": 1730088025, - "narHash": "sha256-FIdIaN7f6karwtDV65VXTV8VThNrR63nwykfgXpm4p4=", + "lastModified": 1730823220, + "narHash": "sha256-qQAYFkeoqvMpGj2lwBuAKQpN1mSF5tXRfgGwbQsnO6Y=", "owner": "nix-community", "repo": "neovim-nightly-overlay", - "rev": "f35afbe60a4ff71fd65fec3839fc38943f961951", + "rev": "d64f5c5f3f16383773638dc48e717c17301e30ce", "type": "github" }, "original": { @@ -791,11 +791,11 @@ "neovim-src": { "flake": false, "locked": { - "lastModified": 1729121305, - "narHash": "sha256-c94xkA/RuszC4PfmB+MWqOo2vbO66GTO6XKer0mbltA=", + "lastModified": 1730762793, + "narHash": "sha256-1dSHnG7rCtubItTt4Zayj7Z3oZY3b/TQDUcQbdS6ZH4=", "owner": "neovim", "repo": "neovim", - "rev": "852954ff6d96adce0158f74ca494fdcef3aa1921", + "rev": "f5b84c1a44069af70a3f0c3330e7cc25b224ad93", "type": "github" }, "original": { diff --git a/plugins/iron.lua b/plugins/iron.lua index c974408..2b028e5 100644 --- a/plugins/iron.lua +++ b/plugins/iron.lua @@ -4,7 +4,11 @@ return function() iron.setup { config = { + highlight_last = false, repl_definition = { + sql = { + command = { "psql" }, + }, typescript = { command = { "ts-node" }, }, @@ -12,4 +16,8 @@ return function() repl_open_cmd = view.split "30%", }, } + + vim.keymap.set("x", "", function() + iron.send(nil, iron.mark_visual()) + end, { desc = "[repl] visual send" }) end