mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-09 16:39:51 +01:00
Compare commits
6 commits
a30d56ad49
...
6e3f8e12e6
Author | SHA1 | Date | |
---|---|---|---|
|
6e3f8e12e6 | ||
aa1754d5cc | |||
|
672630f680 | ||
7dd2026b9d | |||
edc887f0e3 | |||
|
f6a8cd968e |
3 changed files with 7 additions and 15 deletions
|
@ -1761,11 +1761,11 @@
|
||||||
"plugin-run-nvim": {
|
"plugin-run-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1734816675,
|
"lastModified": 1735130195,
|
||||||
"narHash": "sha256-Wuk5HG+vHXAbifzp5YB5V/FxBhBRNWLeypkRczpXbvQ=",
|
"narHash": "sha256-OaOSYyXSNCl9kJJVKhy0L4M06CQFc0NtZ8+AIgKBPik=",
|
||||||
"owner": "diniamo",
|
"owner": "diniamo",
|
||||||
"repo": "run.nvim",
|
"repo": "run.nvim",
|
||||||
"rev": "6cd971afdce6443d7a070dcc23af51da1cc932f9",
|
"rev": "5888f31c5faf4776e598c0665470f5445510c59e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -20,17 +20,9 @@ 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 ''
|
(mkKeymap "n" cfg.mappings.runCommand "<cmd>RunPrompt<cr>" {desc = mappings.run.description;})
|
||||||
function()
|
|
||||||
local input = vim.fn.input("Run command: ")
|
|
||||||
if input ~= "" then require("run").run(input, false) end
|
|
||||||
end
|
|
||||||
'' {
|
|
||||||
desc = mappings.run.description;
|
|
||||||
lua = true;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ in {
|
||||||
pluginRC.nvim-notify = entryAnywhere ''
|
pluginRC.nvim-notify = entryAnywhere ''
|
||||||
local notify = require("notify")
|
local notify = require("notify")
|
||||||
notify.setup(${toLuaObject cfg.setupOpts})
|
notify.setup(${toLuaObject cfg.setupOpts})
|
||||||
vim.notify = notify
|
vim.notify = notify.notify
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue