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
|
###### 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
|
||||||
|
Loading…
Reference in New Issue
Block a user