Open uptudev opened 1 week ago
Error message:
Mason:
Lazy.nvim mason declaration (line 93):
{
'williamboman/mason.nvim',
lazy = false,
config = function()
require('mason').setup({
ui = {
icons = {
package_installed = "",
package_pending = "",
package_uninstalled = "",
},
}
})
end,
},
Lazy.nvim nvim-lint declaration (line 140):
{
'mfussenegger/nvim-lint',
dependencies = 'williamboman/mason.nvim',
lazy = false,
config = function()
require('lint').linters_by_ft = {
rust = {"bacon"},
lua = {'luacheck'},
javascript = {'eslint'},
typescript = {'eslint'},
typescriptreact = {'eslint'},
html = {'htmlhint'},
css = {'stylelint'},
scss = {'stylelint'},
sass = {'stylelint'},
less = {'stylelint'},
json = {'jsonlint'},
yaml = {'yamllint'},
markdown = {'vale'},
sh = {'shellcheck'},
}
end
},
Lazy.nvim mason-nvim-lint declaration (line 225):
{
'rshkarin/mason-nvim-lint',
lazy = false,
dependencies = {
'williamboman/mason.nvim',
'mfussenegger/nvim-lint',
},
config = function()
require('mason-nvim-lint').setup()
end,
},
Lazy.nvim is the standard, and installing this plugin as written does nothing but throw a warning on startup that none of the linters configured are in mason's registry.
Odds are this is due to a loading order error, so perhaps clear instructions should be given in the README on how to resolve it, as setting them to not lazy load with
lazy = false
and setting up dependencies does nothing.