mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-28 11:40:13 +02:00
fix(which-key): use new which-key support for native group keymaps (nop)
This commit is contained in:
parent
bac4bba016
commit
8010f50aa5
8 changed files with 11 additions and 69 deletions
|
@ -1,15 +1,6 @@
|
|||
return {
|
||||
recommended = true,
|
||||
desc = "Neotest support. Requires language specific adapters to be configured. (see lang extras)",
|
||||
{
|
||||
"folke/which-key.nvim",
|
||||
optional = true,
|
||||
opts = {
|
||||
defaults = {
|
||||
["<leader>t"] = { name = "+test" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"nvim-neotest/neotest",
|
||||
dependencies = { "nvim-neotest/nvim-nio" },
|
||||
|
@ -110,6 +101,7 @@ return {
|
|||
end,
|
||||
-- stylua: ignore
|
||||
keys = {
|
||||
{"<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.uv.cwd()) end, desc = "Run All Test Files" },
|
||||
{ "<leader>tr", function() require("neotest").run.run() end, desc = "Run Nearest" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue