Open lawlondon opened 6 months ago
Getting the same problem here
@lawlondon you have a mistake in your nvim-lint
configuration. The linter for Go should be golangcilint
, otherwise mason-nvim-lint
cannot find the mapping to golangci-lint
in the Mason registry. Additionally, I have updated the mappings for htmlhint
and snyk
, as they were added recently and were not specified.
As title says, I get the notification Linters [golangci-lint, snyk, htmlhint] are absent in the mason's registry. However they do appear to be in mason's registry.
Here is my relevant config: ` return { 'neovim/nvim-lspconfig', dependencies = { 'williamboman/mason.nvim', 'williamboman/mason-lspconfig.nvim', 'hrsh7th/cmp-nvim-lsp', 'hrsh7th/cmp-buffer', 'hrsh7th/cmp-path', 'hrsh7th/cmp-cmdline', 'hrsh7th/nvim-cmp', 'L3MON4D3/LuaSnip', 'saadparwaiz1/cmp_luasnip', 'j-hui/fidget.nvim', 'luckasRanarison/tailwind-tools.nvim', 'onsails/lspkind-nvim', 'stevearc/conform.nvim', 'zapling/mason-conform.nvim', 'mfussenegger/nvim-lint', 'rshkarin/mason-nvim-lint', },
config = function() local lsp_capabilities = vim.tbl_deep_extend('force', {}, vim.lsp.protocol.make_client_capabilities(), require('cmp_nvim_lsp').default_capabilities())
end, } `