From 08d024caf3b68d75f63135dac37ebf4c8a71e029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Wed, 3 Jan 2024 00:12:45 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(nvim):=20add=20gh=20as=20ens?= =?UTF-8?q?ure=20installed=20in=20mason?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/git/github.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nvim/lua/plugins/extras/editor/git/github.lua b/.config/nvim/lua/plugins/extras/editor/git/github.lua index 1a09b42f..dc11d7ec 100644 --- a/.config/nvim/lua/plugins/extras/editor/git/github.lua +++ b/.config/nvim/lua/plugins/extras/editor/git/github.lua @@ -1,6 +1,13 @@ local prefix = "G" return { + { + "williamboman/mason.nvim", + opts = function(_, opts) + opts.ensure_installed = opts.ensure_installed or {} + vim.list_extend(opts.ensure_installed, { "gh" }) + end, + }, { "almo7aya/openingh.nvim", cmd = { "OpenInGHRepo", "OpenInGHFile", "OpenInGHFileLines" },