rshkarin / mason-nvim-lint

Extension to mason.nvim that makes it easier to use nvim-lint with mason.nvim
Apache License 2.0
34 stars 9 forks source link

Add setting to ignore linters #5

Open primeapple opened 4 months ago

primeapple commented 4 months ago

In my nvim-lint setup I have a linter for fish set up:

        lint.linters_by_ft = {
            fish = { 'fish' },
        }

Now fish doesn't need a separate linter to be installed, it has the linter in it's executable. However, this plugin detects fish and tries to install it, failing with:

Linters [fish] are absent in the mason's registry. Please, install them manually and remove from configuration.

It would be nice to have an option to ignore certain linters.