css - How to use vim to quickly detect errors in html
巴扎黑
巴扎黑 2017-05-16 16:34:12
0
3
515

There is an error in the target file, line 4 a is not closed correctly

<p>
    <header>
        <ul>
            <li><a href=""><a></li>
            <li><a href=""></a></li>
        </ul>
    </header>
    <footer>
        <p></p>
    </footer>
</p>

How to quickly check it out in vim?

巴扎黑
巴扎黑

reply all(3)
phpcn_u1582

I use this: https://github.com/vim-syntas...

Can be detected

刘奇

vim8 or neovim can use asynchronous detection ale: https://github.com/w0rp/ale. After installing the html linter, opening html will automatically perform syntax checking.

黄舟

I have installed ale. How can I explain how to install the html linter? ?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template