Compare commits

..

No commits in common. "aa1754d5ccdd7cc74e1372f781d33534878acc00" and "7dd2026b9d1749ee3faf6314c8102ced75a1b29b" have entirely different histories.

2 changed files with 14 additions and 6 deletions

View file

@ -1729,11 +1729,11 @@
"plugin-run-nvim": { "plugin-run-nvim": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1735130195, "lastModified": 1734816675,
"narHash": "sha256-OaOSYyXSNCl9kJJVKhy0L4M06CQFc0NtZ8+AIgKBPik=", "narHash": "sha256-Wuk5HG+vHXAbifzp5YB5V/FxBhBRNWLeypkRczpXbvQ=",
"owner": "diniamo", "owner": "diniamo",
"repo": "run.nvim", "repo": "run.nvim",
"rev": "5888f31c5faf4776e598c0665470f5445510c59e", "rev": "6cd971afdce6443d7a070dcc23af51da1cc932f9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -20,9 +20,17 @@ in {
cmd = "Run"; cmd = "Run";
keys = [ keys = [
(mkKeymap "n" cfg.mappings.run "<cmd>Run<cr>" {desc = mappings.run.description;}) (mkKeymap "n" cfg.mappings.run "<cmd>Run<CR>" {desc = mappings.run.description;})
(mkKeymap "n" cfg.mappings.runOverride "<cmd>Run!<cr>" {desc = mappings.runOverride.description;}) (mkKeymap "n" cfg.mappings.runOverride "<cmd>Run!<CR>" {desc = mappings.runOverride.description;})
(mkKeymap "n" cfg.mappings.runCommand "<cmd>RunPrompt<cr>" {desc = mappings.run.description;}) (mkKeymap "n" cfg.mappings.runCommand ''
function()
local input = vim.fn.input("Run command: ")
if input ~= "" then require("run").run(input, false) end
end
'' {
desc = mappings.run.description;
lua = true;
})
]; ];
}; };