From f6c2c7bf1f09b7248edd3ad5aec701014d7cd135 Mon Sep 17 00:00:00 2001 From: Thiago de Arruda Date: Thu, 20 Nov 2014 08:48:29 -0300 Subject: 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. --- runtime/autoload/rpc/host.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit