feat: add attempt.nvim

This plugin is for creating new scratch windows.
This commit is contained in:
Devin Haska 2024-07-03 10:22:13 -07:00
parent 39ff075293
commit 5d61196854
No known key found for this signature in database
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,
},
}