Update installation instruction for Neovim
Suggest directories conforming to XDG Base Directory Specification. Close #559
This commit is contained in:
parent
ca0b726f46
commit
c53ecd3acd
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
|||
###### Neovim
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
|
@ -69,6 +69,7 @@ Add a vim-plug section to your `~/.vimrc` (or `~/.config/nvim/init.vim` for Neov
|
|||
#### Example
|
||||
|
||||
```vim
|
||||
" Specify a directory for plugins (for Neovim: ~/.local/share/nvim/plugged)
|
||||
call plug#begin('~/.vim/plugged')
|
||||
|
||||
" Make sure you use single quotes
|
||||
|
|
Loading…
Reference in a new issue