Shougo / dein.vim

:zap: Dark powered Vim/Neovim plugin manager
MIT License
3.42k stars 197 forks source link

Add initial script variables to store Dein paths #476

Closed ghost closed 1 year ago

ghost commented 1 year ago

Hi, I've noticed that the two required directories is quite often used more than once.

To give a more conventional and practical experience for users, I added the required directories in local variables for the generated initial config.

" Dein.vim base directory (required)
let s:dein_base = '$BASE'

" Dein.vim source directory (required)
let s:dein_src = '$DEIN'

We could add more information in the comments like this:

" Dein.vim base directory (required)
" Eg.: '~/.cache/dein'
let s:dein_base = '$BASE'

However, since we already mention the examples in the documentation and README file, it could be a overkill, what you think?

If there's any problem, let me know.