mfussenegger / nvim-lint

An asynchronous linter plugin for Neovim complementary to the built-in Language Server Protocol support.
GNU General Public License v3.0
1.76k stars 191 forks source link

Help setting up htmlhint #574

Open m-tranter opened 2 months ago

m-tranter commented 2 months ago

Hi - I am trying to use htmlhint as a linter with this plugin. I am not sure how to set it up. At the moment, I just have this:

   { -- Linting
    'mfussenegger/nvim-lint',
    event = { 'BufReadPre', 'BufNewFile' },
    config = function()
      local lint = require 'lint'
      lint.linters_by_ft = {
        vue = { 'volar' },
        html = { 'tidy' },
      }

I have tried searching online, but I don't know how to configure it. Like this it shows no diagnostics, it works in ALE so ...