From 6a6a65fe3ca4b517dc084b892e237a3d4e7b5b89 Mon Sep 17 00:00:00 2001 From: Andreas Gerlach Date: Sun, 31 Dec 2023 14:55:10 +0100 Subject: [PATCH] feat(util): octo.nvim extension fixes #2276 --- lua/lazyvim/plugins/extras/util/octo.lua | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lua/lazyvim/plugins/extras/util/octo.lua diff --git a/lua/lazyvim/plugins/extras/util/octo.lua b/lua/lazyvim/plugins/extras/util/octo.lua new file mode 100644 index 00000000..68fcfd4b --- /dev/null +++ b/lua/lazyvim/plugins/extras/util/octo.lua @@ -0,0 +1,25 @@ +return { + + -- Ensure GH tool is installed + { + "williamboman/mason.nvim", + opts = function(_, opts) + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "gh" }) + end, + }, + + { + "pwntester/octo.nvim", + cmd = "Octo", + dependencies = { + "nvim-lua/plenary.nvim", + "nvim-telescope/telescope.nvim", + "nvim-tree/nvim-web-devicons", + }, + opts = { + picker = "telescope", + } + }, + +}