feat: add attempt.nvim
This plugin is for creating new scratch windows.
This commit is contained in:
parent
39ff075293
commit
5d61196854
2 changed files with 17 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"LuaSnip": { "branch": "master", "commit": "ce0a05ab4e2839e1c48d072c5236cce846a387bc" },
|
||||
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
|
||||
"attempt.nvim": { "branch": "main", "commit": "3905db768478a2152fd927ab5a8def85bc2e34e7" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue