refactor(nvim): give neotest a dedicated leader key
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled
This commit is contained in:
parent
811169f9c9
commit
cace006465
@ -235,8 +235,6 @@ return {
|
||||
end,
|
||||
desc = "LSP: Toggle Diagnostics in Current Buffer",
|
||||
},
|
||||
{ "<leader>k", vim.lsp.buf.hover, desc = "LSP: Hover" },
|
||||
{ "<leader>K", vim.lsp.buf.signature_help, desc = "LSP: Sig Help" },
|
||||
{ "<leader>lR", ":LspRestart<CR>", desc = "LSP: Restart" },
|
||||
{
|
||||
"<leader>ls",
|
||||
|
@ -10,16 +10,16 @@ return {
|
||||
"nvim-neotest/neotest-plenary",
|
||||
},
|
||||
keys = {
|
||||
{ "<localleader>n", desc = "> Neotest" },
|
||||
{ "<localleader>nr", "<cmd>Neotest run<CR>", desc = "Neotest: Run Test" },
|
||||
{ "<localleader>nf", "<cmd>Neotest run file<CR>", desc = "Neotest: Run Test(s) in File" },
|
||||
{ "<localleader>nl", "<cmd>Neotest run last<CR>", desc = "Neotest: Run Last Test(s)" },
|
||||
{ "<localleader>np", "<cmd>Neotest output-panel<CR>", desc = "Neotest: Output Panel" },
|
||||
{ "<localleader>no", "<cmd>Neotest output<CR>", desc = "Neotest: Output" },
|
||||
{ "<localleader>nn", "<cmd>Neotest summary toggle<CR>", desc = "Neotest: Summary Toggle" },
|
||||
{ "<localleader>nk", "<cmd>Neotest jump prev<CR>", desc = "Neotest: Jump Prev" },
|
||||
{ "<localleader>nj", "<cmd>Neotest jump next<CR>", desc = "Neotest: Jump Next" },
|
||||
{ "<localleader>na", "<cmd>Neotest attach<CR>", desc = "Neotest: Attach" },
|
||||
{ "<leader>k", desc = "> Neotest" },
|
||||
{ "<leader>kr", "<cmd>Neotest run<CR>", desc = "Neotest: Run Test" },
|
||||
{ "<leader>kf", "<cmd>Neotest run file<CR>", desc = "Neotest: Run Test(s) in File" },
|
||||
{ "<leader>kl", "<cmd>Neotest run last<CR>", desc = "Neotest: Run Last Test(s)" },
|
||||
{ "<leader>kp", "<cmd>Neotest output-panel<CR>", desc = "Neotest: Output Panel" },
|
||||
{ "<leader>ko", "<cmd>Neotest output<CR>", desc = "Neotest: Output" },
|
||||
{ "<leader>kn", "<cmd>Neotest summary toggle<CR>", desc = "Neotest: Summary Toggle" },
|
||||
{ "<leader>kk", "<cmd>Neotest jump prev<CR>", desc = "Neotest: Jump Prev" },
|
||||
{ "<leader>kj", "<cmd>Neotest jump next<CR>", desc = "Neotest: Jump Next" },
|
||||
{ "<leader>ka", "<cmd>Neotest attach<CR>", desc = "Neotest: Attach" },
|
||||
},
|
||||
opts = function()
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user