mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Update installation instruction for Neovim
Suggest directories conforming to XDG Base Directory Specification. Close #559
This commit is contained in:
parent
ca0b726f46
commit
c53ecd3acd
@ -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 New Issue
Block a user