From ce1bf297cb3569a59082286b0fcc2260b55868d2 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 17 Apr 2020 14:23:19 -0600 Subject: Add instructions for installing with vim 8+ No need for pathogen, plug, vundle, etc anymore --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 6e0460d..9a6a192 100644 --- a/README.md +++ b/README.md @@ -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. -- cgit v1.3