diff --git a/lazy-lock.json b/lazy-lock.json index 16efa76..671a5ae 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -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" }, diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 245f1a0..2d11c4d 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -174,4 +174,20 @@ return { }, }, }, + { + "m-demare/attempt.nvim", + opts = { + ext_options = { "js", "lua" }, + }, + keys = function() + local attempt = require("attempt") + + return { + { "an", attempt.new_select, desc = "New attempt" }, + { "ar", attempt.run, desc = "Run attempt" }, + { "ad", attempt.delete_buf, desc = "Delete attempt buffer" }, + { "al", "Telescope attempt", desc = "Search attempts" }, + } + end, + }, }