Update vim-prettier location (#2518)
This commit is contained in:
1 parent
2d97f0d0cc
commit
38fdb6f851
4 files changed
+6
-6
No files matched your search
@@ -722,7 +722,7 @@ for on-demand formatting.
|
||||
|
||||
### Vim
|
||||
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [mitermayer](https://github.com/mitermayer)/[vim-prettier](https://github.com/mitermayer/vim-prettier), for more details see [this directory](https://github.com/prettier/prettier/tree/master/editors/vim).
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [prettier](https://github.com/prettier)/[vim-prettier](https://github.com/prettier/vim-prettier), for more details see [this directory](https://github.com/prettier/prettier/tree/master/editors/vim).
|
||||
|
||||
### Visual Studio Code
|
||||
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ for on-demand formatting.
|
||||
|
||||
## Vim
|
||||
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [mitermayer](https://github.com/mitermayer)/[vim-prettier](https://github.com/mitermayer/vim-prettier), for more details see [this directory](https://github.com/prettier/prettier/tree/master/editors/vim).
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [prettier](https://github.com/prettier)/[vim-prettier](https://github.com/prettier/vim-prettier), for more details see [this directory](https://github.com/prettier/prettier/tree/master/editors/vim).
|
||||
|
||||
## Visual Studio Code
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
## Vim and Prettier integration
|
||||
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [mitermayer](https://github.com/mitermayer)/[vim-prettier](https://github.com/mitermayer/vim-prettier).
|
||||
Vim users can simply install either [sbdchd](https://github.com/sbdchd)/[neoformat](https://github.com/sbdchd/neoformat), [w0rp](https://github.com/w0rp)/[ale](https://github.com/w0rp/ale), or [prettier](https://github.com/prettier)/[vim-prettier](https://github.com/prettier/vim-prettier).
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
@@ -78,7 +78,7 @@ Each space in prettier options should be escaped with `\`.
|
||||
|
||||
### vim-prettier
|
||||
|
||||

|
||||

|
||||
|
||||
#### vim-prettier - Installation
|
||||
|
||||
@@ -88,7 +88,7 @@ By default it will auto format **javascript**, **typescript**, **less**, **scss*
|
||||
|
||||
```vim
|
||||
" post install (yarn install | npm install) then load plugin only for editing supported files
|
||||
Plug 'mitermayer/vim-prettier', {
|
||||
Plug 'prettier/vim-prettier', {
|
||||
\ 'do': 'npm install',
|
||||
\ 'for': ['javascript', 'typescript', 'css', 'less', 'scss'] }
|
||||
```
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{
|
||||
"image": "/images/vim-128px.png",
|
||||
"name": "vim",
|
||||
"content": "[`neoformat`](https://github.com/sbdchd/neoformat), [`ale`](https://github.com/w0rp/ale), [`vim-prettier`](https://github.com/mitermayer/vim-prettier)"
|
||||
"content": "[`neoformat`](https://github.com/sbdchd/neoformat), [`ale`](https://github.com/w0rp/ale), [`vim-prettier`](https://github.com/prettier/vim-prettier)"
|
||||
},
|
||||
{
|
||||
"image": "/images/vscode-128px.png",
|
||||
|
||||
Reference in new issue
Block a user