diff --git a/tutorial.md b/tutorial.md index c839411..9d612a3 100644 --- a/tutorial.md +++ b/tutorial.md @@ -38,14 +38,14 @@ Installing plugins With vim-plug, you declare the list of plugins you want to use in your Vim configuration file. It's `~/.vimrc` for ordinary Vim, and `~/.config/nvim/init.vim` for Neovim. The list should start with -`call plug#begin(PLUGIN_DIRECTORY)` and end with `call plug#end()`. +`call plug#begin([PLUGIN_DIRECTORY])` and end with `call plug#end()`. `PLUGIN_DIRECTORY` is a placeholder for vim-plug's plugin directory. Please do not set it to a directory from `runtimepath` option. Do NOT set it to the `autoload/` directory where `plug.vim` is. ```vim -" Plugins will be downloaded under the specified directory. -call plug#begin(has('nvim') ? stdpath('data') . '/plugged' : '~/.vim/plugged') +" Plugin directory is optional +call plug#begin() " Declare the list of plugins. Plug 'tpope/vim-sensible'