🐛 fix(nvim): go.nvim loading on lazyfile and golangci-lint mason package typo

This commit is contained in:
Sergio Laín 2024-01-14 13:22:46 +01:00
parent e62e96fdcb
commit f54324f9c4
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -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()