如何使用html整理意识到离子标签?

Chr*_*now 4 vim tidy syntastic ionic-framework

我正在尝试用vim编辑一个离子应用程序,它使用html整理启用了句法.不幸的是,我遇到了一大堆错误.

如何让html整洁地识别离子标签,或者失败使它忽略它们,这样我就不会收到这样的错误:

www/index.html|26 col 5 error| <ion-pane> is not recognized!
...
www/index.html|24 col 3 warning| <body> proprietary attribute "ng-app"
Run Code Online (Sandbox Code Playgroud)

Chr*_*now 9

我的解决方案是设置以下内容:

let g:syntastic_html_tidy_ignore_errors=["<ion-", "discarding unexpected </ion-", " proprietary attribute \"ng-"]
Run Code Online (Sandbox Code Playgroud)