In README, more efficient git clones

Users don't need the entire git history to use the plugin, so don't download it
This commit is contained in:
enterprisey 2019-06-09 22:12:29 -07:00 committed by GitHub
parent 507f164a09
commit b41eecd31b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,14 +258,14 @@ any other tools. Simply clone the plugin into your `pack` directory.
```bash ```bash
mkdir -p ~/.vim/pack/git-plugins/start mkdir -p ~/.vim/pack/git-plugins/start
git clone https://github.com/w0rp/ale.git ~/.vim/pack/git-plugins/start/ale git clone --depth 1 https://github.com/w0rp/ale.git ~/.vim/pack/git-plugins/start/ale
``` ```
#### NeoVim on Unix #### NeoVim on Unix
```bash ```bash
mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start mkdir -p ~/.local/share/nvim/site/pack/git-plugins/start
git clone https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plugins/start/ale git clone --depth 1 https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plugins/start/ale
``` ```
#### Vim 8 on Windows #### Vim 8 on Windows
@ -273,7 +273,7 @@ git clone https://github.com/w0rp/ale.git ~/.local/share/nvim/site/pack/git-plug
```bash ```bash
# Run these commands in the "Git for Windows" Bash terminal # Run these commands in the "Git for Windows" Bash terminal
mkdir -p ~/vimfiles/pack/git-plugins/start mkdir -p ~/vimfiles/pack/git-plugins/start
git clone https://github.com/w0rp/ale.git ~/vimfiles/pack/git-plugins/start/ale git clone --depth 1 https://github.com/w0rp/ale.git ~/vimfiles/pack/git-plugins/start/ale
``` ```
#### Generating Vim help files #### Generating Vim help files