Open seeARMS opened 4 years ago
What needs to be done to support the html-parser. The vetur plugin has something like:
vetur.format.defaultFormatter.css
vetur.format.defaultFormatter.js
vetur.format.defaultFormatter.html
.. and so on
Are you thinking something in lines of that?
prettier.parser = whatever the default is
prettier.parserOverride.html = html
and maybe from tailwind:
tailwindCSS.htmlLanguages = [
html,
blade,
ejs
]
Just thoughts.
Need to use HTML parser to format HTML files: https://github.com/prettier/prettier/issues/1882#issuecomment-437631682
Currently only babylon and flow are supported parsers for coc-prettier