aboutsummaryrefslogtreecommitdiff
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
parent6999016a0b0c6b5304b6956cbba472c1784d8039 (diff)
parent7a5cdb0296af9a186ac873d245a11ce1ab9c50f7 (diff)
downloadvim-prettier-a5e205f6fc6e2f153c006296ec0c89ce8fb7ce76.tar.xz
Merge pull request #286 from whatever555/readme-fix
fix incorrect reference to PrettierFragment in readme
-rw-r--r--README.md4
-rw-r--r--doc/prettier.txt4
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