diff options
| author | AJ ONeal <coolaj86@gmail.com> | 2020-04-17 14:23:19 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-17 14:23:19 -0600 |
| commit | ce1bf297cb3569a59082286b0fcc2260b55868d2 (patch) | |
| tree | 5756cd5eede711e2591732526e4d74859c5cd203 | |
| parent | 6b1adeb54910aaac47d6ab9ecc6d54ffe2f68360 (diff) | |
| download | vim-prettier-ce1bf297cb3569a59082286b0fcc2260b55868d2.tar.xz | |
Add instructions for installing with vim 8+
No need for pathogen, plug, vundle, etc anymore
| -rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -24,6 +24,18 @@ have/support the "@format" pragma annotation in the header of the file. ### INSTALL +To install with vim 8+ plugins, simply clone to your `~/.vim/pack/plugins/start` directory, and add `packloadall` to your `.vimrc` (if you haven't already). + +```bash +mkdir -p ~/.vim/pack/plugins/start +git clone https://github.com/prettier/vim-prettier ~/.vim/pack/plugins/start/vim-prettier +``` + +`.vimrc`: +```vim +packloadall +``` + Install with [vim-plug](https://github.com/junegunn/vim-plug), assumes node and yarn|npm installed globally. |
