runtime: Prepend the vimrc filename to the external plugin manifest

This is required to support multiple vimrcs with each having it's own set of
installed external plugins.
This commit is contained in:
Thiago de Arruda
2014-11-20 08:48:29 -03:00
parent 58ba2241e9
commit f6c2c7bf1f

View File

@@ -2,7 +2,8 @@ let s:hosts = {}
let s:plugin_patterns = { let s:plugin_patterns = {
\ 'python': '*.py' \ 'python': '*.py'
\ } \ }
let s:external_plugins = fnamemodify($MYVIMRC, ':p:h').'/.external_plugins~' let s:external_plugins = fnamemodify($MYVIMRC, ':p:h')
\.'/.'.fnamemodify($MYVIMRC, ':t').'-external-plugins~'
" Register a host by associating it with a factory(funcref) " Register a host by associating it with a factory(funcref)