Skip to content

Commit

Permalink
fix incorrect reference in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
whatever555 committed Mar 3, 2021
1 parent 6999016 commit 7a5cdb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ 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
```

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
Expand Down
4 changes: 2 additions & 2 deletions doc/prettier.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
>
Expand All @@ -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
Expand Down

0 comments on commit 7a5cdb0

Please sign in to comment.