Skip to content

Commit a5e205f

Browse files
authored
Merge pull request #286 from whatever555/readme-fix
fix incorrect reference to PrettierFragment in readme
2 parents 6999016 + 7a5cdb0 commit a5e205f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ If your are on vim 8+ you can also trigger async formatting by:
112112

113113
You can send to prettier your entire buffer but ensure that it formats only your selection.
114114

115-
**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.
115+
**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.
116116

117117
```vim
118118
:PrettierPartial
119119
```
120120

121121
You can send to prettier your current selection as a fragment of same type as the file being edited.
122122

123-
**note: ** differs from `:PrettierFragment` by sending only the current selection to prettier, this allows for faster formatting but wont preserve indentation.
123+
**note:** differs from `:PrettierPartial` by sending only the current selection to prettier, this allows for faster formatting but wont preserve indentation.
124124

125125
```vim
126126
:PrettierFragment

doc/prettier.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ You can check what is the resolved `prettier` cli version by:
9494
You can send to prettier your entire buffer but ensure that it
9595
formats only your selection.
9696

97-
**note: ** differs from `:PrettierFragment` by sending the entire buffer
97+
**note:** differs from `:PrettierFragment` by sending the entire buffer
9898
to prettier, allowing identation level to be preserved, but it requires
9999
the whole file to be valid.
100100
>
@@ -103,7 +103,7 @@ the whole file to be valid.
103103
You can send to prettier your current selection as a fragment of same type as
104104
the file being edited.
105105

106-
**note: ** differs from `:PrettierPartial` by sending only the current selection
106+
**note:** differs from `:PrettierPartial` by sending only the current selection
107107
to prettier, this allows for faster formatting but wont preserve indentation.
108108
>
109109
:PrettierFragment

0 commit comments

Comments
 (0)