README: Clarify recommended plugins directory for Windows Vim (#1151)

This commit is contained in:
Shawn Hatori 2022-01-03 08:47:53 -05:00 committed by GitHub
parent 68488fd7a3
commit f085751ca1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,9 @@ Add a vim-plug section to your `~/.vimrc` (or `stdpath('config') . '/init.vim'`
```vim ```vim
" Specify a directory for plugins " Specify a directory for plugins
" - For Neovim: stdpath('data') . '/plugged' " - For Vim (Linux/macOS): '~/.vim/plugged'
" - For Vim (Windows): '~/vimfiles/plugged'
" - For Neovim (Linux/macOS/Windows): stdpath('data') . '/plugged'
" - Avoid using standard Vim directory names like 'plugin' " - Avoid using standard Vim directory names like 'plugin'
call plug#begin('~/.vim/plugged') call plug#begin('~/.vim/plugged')