You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,15 +112,15 @@ If your are on vim 8+ you can also trigger async formatting by:
112
112
113
113
You can send to prettier your entire buffer but ensure that it formats only your selection.
114
114
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.
116
116
117
117
```vim
118
118
:PrettierPartial
119
119
```
120
120
121
121
You can send to prettier your current selection as a fragment of same type as the file being edited.
122
122
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.
0 commit comments