aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMitermayer Reis <mitermayer.reis@gmail.com>2021-03-04 10:16:59 +1100
committerGitHub <noreply@github.com>2021-03-04 10:16:59 +1100
commita5e205f6fc6e2f153c006296ec0c89ce8fb7ce76 (patch)
treec6d6734ea51f11d18e14d2359f857d592fc13735 /README.md
parent6999016a0b0c6b5304b6956cbba472c1784d8039 (diff)
parent7a5cdb0296af9a186ac873d245a11ce1ab9c50f7 (diff)
downloadvim-prettier-a5e205f6fc6e2f153c006296ec0c89ce8fb7ce76.tar.xz
Merge pull request #286 from whatever555/readme-fix
fix incorrect reference to PrettierFragment in readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 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