diff options
| author | mitermayer <mitermayer.reis@gmail.com> | 2017-09-17 23:38:58 -0700 |
|---|---|---|
| committer | mitermayer <mitermayer.reis@gmail.com> | 2017-09-17 23:43:27 -0700 |
| commit | 2f5b382087f131c0ab967600b2d9ce2f3201e653 (patch) | |
| tree | 6fcd31b6a42cc1fc962b85b8d983467b2cbbc5b8 /README.md | |
| parent | 7f3c9f3d92619eedf0593b915dae0e3fd20aaa27 (diff) | |
| download | vim-prettier-2f5b382087f131c0ab967600b2d9ce2f3201e653.tar.xz | |
feature: Adding more commands
This includes more commands to interact with the prettier CLI from
within vim itself
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -53,6 +53,30 @@ If your are on vim 8+ you can also trigger async formatting by: :PrettierAsync ``` +You can check what is the `vim-prettier` plugin version by: + +```vim +:PrettierVersion +``` + +You can send commands to the resolved `prettier` cli by: + +``` +:PrettierCli <q-args> +``` + +You can check what is the resolved `prettier` cli path by: + +```vim +:PrettierCliPath +``` + +You can check what is the resolved `prettier` cli version by: + +```vim +:PrettierCliVersion +``` + ### Configuration Change the mapping to run from the default of `<Leader>p` |
