aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMitermayer Reis <mitermayer.reis@gmail.com>2021-03-04 10:17:24 +1100
committerGitHub <noreply@github.com>2021-03-04 10:17:24 +1100
commite7564653bccc34a2564ccd9463483af2965d148e (patch)
treef5e5a4e3a05cd7e4a2ca49c39af722d0332a13bf /README.md
parenta5e205f6fc6e2f153c006296ec0c89ce8fb7ce76 (diff)
parent3cf8ce55e5c0bde09e92c1bdc72f6d2fca9c05cc (diff)
downloadvim-prettier-e7564653bccc34a2564ccd9463483af2965d148e.tar.xz
Merge pull request #282 from Chocrates/master
Add dein config to readme
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index d3808b5..eb5e6da 100644
--- a/README.md
+++ b/README.md
@@ -60,6 +60,12 @@ cd ~/.vim/bundle
git clone https://github.com/prettier/vim-prettier
```
+If using [dein](https://github.com/Shougo/dein.vim), add the following to your dein config:
+
+```vim
+call dein#add('prettier/vim-prettier', {'build': 'npm install'})
+```
+
If using other vim plugin managers or doing manual setup make sure to have
`prettier` installed globally or go to your vim-prettier directory and either do
`npm install` or `yarn install`