Update installation instruction for Neovim

Suggest directories conforming to XDG Base Directory Specification.

Close #559
This commit is contained in:
Junegunn Choi 2016-12-10 18:25:21 +09:00
parent ca0b726f46
commit c53ecd3acd
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -37,7 +37,7 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
###### Neovim ###### Neovim
```sh ```sh
curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs \ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
``` ```
@ -69,6 +69,7 @@ Add a vim-plug section to your `~/.vimrc` (or `~/.config/nvim/init.vim` for Neov
#### Example #### Example
```vim ```vim
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')
" Make sure you use single quotes " Make sure you use single quotes