aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-11-20 08:48:29 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-11-20 08:48:29 -0300
commitf6c2c7bf1f09b7248edd3ad5aec701014d7cd135 (patch)
treedf56c7e28154be3ccb9af47b846d814e782160a8
parent58ba2241e9db836c96cb75f1848c31c71c7b9fac (diff)
downloadrneovim-f6c2c7bf1f09b7248edd3ad5aec701014d7cd135.tar.gz
rneovim-f6c2c7bf1f09b7248edd3ad5aec701014d7cd135.tar.bz2
rneovim-f6c2c7bf1f09b7248edd3ad5aec701014d7cd135.zip
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.
-rw-r--r--runtime/autoload/rpc/host.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/autoload/rpc/host.vim b/runtime/autoload/rpc/host.vim
index 0b5069af20..9294dd92a8 100644
--- a/runtime/autoload/rpc/host.vim
+++ b/runtime/autoload/rpc/host.vim
@@ -2,7 +2,8 @@ let s:hosts = {}
let s:plugin_patterns = {
\ '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)