mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: icon run and test
This commit is contained in:
parent
cbd0b55458
commit
ecc54b9f87
2 changed files with 2 additions and 2 deletions
|
@ -92,7 +92,7 @@ vim.g.pcode_whichkey = {
|
||||||
k = { '<cmd>lua print("Testing")<cr>', "Example" },
|
k = { '<cmd>lua print("Testing")<cr>', "Example" },
|
||||||
},
|
},
|
||||||
["r"] = {
|
["r"] = {
|
||||||
name = "Run",
|
name = " Run",
|
||||||
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
|
j = { "<cmd>Jaq float<CR>", "Run With Jaq" },
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@ if vim.g.pcode_jest then
|
||||||
end,
|
end,
|
||||||
-- stylua: ignore
|
-- stylua: ignore
|
||||||
keys = {
|
keys = {
|
||||||
{ "<leader>T","",desc=" Test"},
|
{ "<leader>T","",desc=" Test"},
|
||||||
{ "<leader>Tt", function() require("neotest").run.run(vim.fn.expand("%")) end, desc = "Run File" },
|
{ "<leader>Tt", function() require("neotest").run.run(vim.fn.expand("%")) end, desc = "Run File" },
|
||||||
{ "<leader>Tr", function() require("neotest").run.run() end, desc = "Run Nearest" },
|
{ "<leader>Tr", function() require("neotest").run.run() end, desc = "Run Nearest" },
|
||||||
{ "<leader>TT", function() require("neotest").run.run(vim.loop.cwd()) end, desc = "Run All Test Files" },
|
{ "<leader>TT", function() require("neotest").run.run(vim.loop.cwd()) end, desc = "Run All Test Files" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue