From 7a5cdb0296af9a186ac873d245a11ce1ab9c50f7 Mon Sep 17 00:00:00 2001 From: emurph Date: Wed, 3 Mar 2021 23:04:15 +0100 Subject: [PATCH] fix incorrect reference in readme --- README.md | 4 ++-- doc/prettier.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5bc58b9..d3808b5 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,7 @@ If your are on vim 8+ you can also trigger async formatting by: You can send to prettier your entire buffer but ensure that it formats only your selection. -**note: ** differs from `:PrettierFragment` by sending the entire buffer to prettier, allowing identation level to be preserved, but it requires the whole file to be valid. +**note:** differs from `:PrettierFragment` by sending the entire buffer to prettier, allowing identation level to be preserved, but it requires the whole file to be valid. ```vim :PrettierPartial @@ -120,7 +120,7 @@ You can send to prettier your entire buffer but ensure that it formats only your You can send to prettier your current selection as a fragment of same type as the file being edited. -**note: ** differs from `:PrettierFragment` by sending only the current selection to prettier, this allows for faster formatting but wont preserve indentation. +**note:** differs from `:PrettierPartial` by sending only the current selection to prettier, this allows for faster formatting but wont preserve indentation. ```vim :PrettierFragment diff --git a/doc/prettier.txt b/doc/prettier.txt index de2af6e..716f66a 100644 --- a/doc/prettier.txt +++ b/doc/prettier.txt @@ -94,7 +94,7 @@ You can check what is the resolved `prettier` cli version by: You can send to prettier your entire buffer but ensure that it formats only your selection. -**note: ** differs from `:PrettierFragment` by sending the entire buffer +**note:** differs from `:PrettierFragment` by sending the entire buffer to prettier, allowing identation level to be preserved, but it requires the whole file to be valid. > @@ -103,7 +103,7 @@ the whole file to be valid. You can send to prettier your current selection as a fragment of same type as the file being edited. -**note: ** differs from `:PrettierPartial` by sending only the current selection +**note:** differs from `:PrettierPartial` by sending only the current selection to prettier, this allows for faster formatting but wont preserve indentation. > :PrettierFragment