feat: add attempt.nvim

This plugin is for creating new scratch windows.
This commit is contained in:
Devin Haska 2025-05-27 11:54:48 -07:00
parent 9cb0684132
commit eabfd08e51
2 changed files with 17 additions and 0 deletions

View file

@ -174,4 +174,20 @@ return {
},
},
},
{
"m-demare/attempt.nvim",
opts = {
ext_options = { "js", "lua" },
},
keys = function()
local attempt = require("attempt")
return {
{ "<Leader>an", attempt.new_select, desc = "New attempt" },
{ "<Leader>ar", attempt.run, desc = "Run attempt" },
{ "<Leader>ad", attempt.delete_buf, desc = "Delete attempt buffer" },
{ "<Leader>al", "<cmd>Telescope attempt<CR>", desc = "Search attempts" },
}
end,
},
}