From aa535e7ed1d7a7b01616ed5a3e988ba4db98976c Mon Sep 17 00:00:00 2001 From: Smirnov Oleksandr Date: Thu, 22 Sep 2022 17:54:49 +0300 Subject: [PATCH] feat: add dlv as dep --- lua/gopher/config.lua | 1 + lua/gopher/health.lua | 1 + lua/gopher/installer.lua | 1 + 3 files changed, 3 insertions(+) diff --git a/lua/gopher/config.lua b/lua/gopher/config.lua index 46e7edc..3c2f257 100644 --- a/lua/gopher/config.lua +++ b/lua/gopher/config.lua @@ -7,6 +7,7 @@ local M = { gotests = "gotests", impl = "impl", iferr = "iferr", + dlv = "dlv", }, }, } diff --git a/lua/gopher/health.lua b/lua/gopher/health.lua index faed400..963f0cf 100644 --- a/lua/gopher/health.lua +++ b/lua/gopher/health.lua @@ -15,6 +15,7 @@ local M = { { bin = c.gomodifytags, help = "required for modify struct tags" }, { bin = c.impl, help = "required for interface implementing" }, { bin = c.gotests, help = "required for test(s) generation" }, + { bin = c.dlv, help = "required for debugger(nvim-dap)" }, }, }, } diff --git a/lua/gopher/installer.lua b/lua/gopher/installer.lua index 4df048b..355562b 100644 --- a/lua/gopher/installer.lua +++ b/lua/gopher/installer.lua @@ -5,6 +5,7 @@ local urls = { impl = "github.com/josharian/impl", gotests = "github.com/cweill/gotests/...", iferr = "github.com/koron/iferr", + dlv = "github.com/go-delve/delve/cmd/dlv", } ---@param pkg string