diff options
| author | emurph <i_am_uggie@yahoo.com> | 2021-03-03 23:04:15 +0100 |
|---|---|---|
| committer | emurph <i_am_uggie@yahoo.com> | 2021-03-03 23:04:15 +0100 |
| commit | 7a5cdb0296af9a186ac873d245a11ce1ab9c50f7 (patch) | |
| tree | c6d6734ea51f11d18e14d2359f857d592fc13735 | |
| parent | 6999016a0b0c6b5304b6956cbba472c1784d8039 (diff) | |
| download | vim-prettier-7a5cdb0296af9a186ac873d245a11ce1ab9c50f7.tar.xz | |
fix incorrect reference in readme
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | doc/prettier.txt | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 |
