From 2f5b382087f131c0ab967600b2d9ce2f3201e653 Mon Sep 17 00:00:00 2001 From: mitermayer Date: Sun, 17 Sep 2017 23:38:58 -0700 Subject: feature: Adding more commands This includes more commands to interact with the prettier CLI from within vim itself --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'README.md') 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 +``` + +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 `p` -- cgit v1.3