Open phts opened 5 years ago
The detection by syntax name was deprecated, ideally we would update the HTML linter to detect it by the scope text.html
like the yaml linter does here.
~But there might be other old plugins doing the same thing, so I'll change the CSS too to improve compatibility.~
The change I proposed earlier would not work because of the (Naomi)
suffix. I'll send a pull request to the linter's repo to fix the issue.
I sent a pull request to the respective repos:
https://github.com/necramirez/SublimeLinter-contrib-htmllint/pull/6 https://github.com/htmlhint/SublimeLinter-contrib-htmlhint/pull/11
On the shortterm, you can add this setting to sublime linter:
{
"linters": {
"htmlhint": {"selector": "text.html"},
"htmllint": {"selector": "text.html"},
}
}
Cool thanks!
Is it possible to add compatibility with plugins https://github.com/necramirez/SublimeLinter-contrib-htmllint and https://github.com/htmlhint/SublimeLinter-contrib-htmlhint with Naomi->HTML syntax.
They seem to check syntax "html".
Most likely here could be a similar fix as for #171