nimbus117 / prettier.vim

A vim wrapper for prettier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Format the current buffer using prettier.

:Prettier

By default the whole buffer is formatted.

Optionally a range and parser argument can be supplied.

The following will format line 10 to line 20 in the current buffer using the html parser.

:10,20Prettier html

Use tab completion to see all the available parsers.

About

A vim wrapper for prettier


Languages

Language:Vim Script 100.0%