🐛 fix(nvim): go.nvim loading on lazyfile and golangci-lint mason package typo
This commit is contained in:
parent
e62e96fdcb
commit
f54324f9c4
1 changed files with 1 additions and 2 deletions
|
@ -4,7 +4,7 @@ return {
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
opts.ensure_installed = opts.ensure_installed or {}
|
opts.ensure_installed = opts.ensure_installed or {}
|
||||||
vim.list_extend(opts.ensure_installed, { "golangcil-lint" })
|
vim.list_extend(opts.ensure_installed, { "golangci-lint" })
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -15,7 +15,6 @@ return {
|
||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
},
|
},
|
||||||
opts = {},
|
opts = {},
|
||||||
event = { "LazyFile" },
|
|
||||||
ft = { "go", "gomod" },
|
ft = { "go", "gomod" },
|
||||||
build = function()
|
build = function()
|
||||||
require("go.install").update_all_sync()
|
require("go.install").update_all_sync()
|
||||||
|
|
Loading…
Add table
Reference in a new issue