How to make syntax with html tidy familiar with ionic tags?

I am trying to edit an ionic application with vim that has a syntax effect using html tidy. Unfortunately, I get an error.

How can I make html tidy aware of ion tags, or fail to get it to ignore them so that I don't get these errors:

www/index.html|26 col 5 error| <ion-pane> is not recognized!
...
www/index.html|24 col 3 warning| <body> proprietary attribute "ng-app"
+4
source share
1 answer

The solution for me was as follows:

let g:syntastic_html_tidy_ignore_errors=["<ion-", "discarding unexpected </ion-", " proprietary attribute \"ng-"]
+8
source

Source: https://habr.com/ru/post/1589138/


All Articles