aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authormitermayer <mitermayer.reis@gmail.com>2017-09-17 23:38:58 -0700
committermitermayer <mitermayer.reis@gmail.com>2017-09-17 23:43:27 -0700
commit2f5b382087f131c0ab967600b2d9ce2f3201e653 (patch)
tree6fcd31b6a42cc1fc962b85b8d983467b2cbbc5b8 /README.md
parent7f3c9f3d92619eedf0593b915dae0e3fd20aaa27 (diff)
downloadvim-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.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 7581820..39a4db6 100644
--- a/README.md
+++ b/README.md
@@ -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`