Merge pull request #692 from wsdjeg/master

Updates example in readme to better explain the 'name' option
This commit is contained in:
Ryan L McIntyre 2016-02-25 11:25:32 -05:00
commit 775d94dee9
2 changed files with 5 additions and 4 deletions

View File

@ -70,8 +70,9 @@
" The sparkup vim script is in a subdirectory of this repo called vim. " The sparkup vim script is in a subdirectory of this repo called vim.
" Pass the path to set the runtimepath properly. " Pass the path to set the runtimepath properly.
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" Avoid a name conflict with L9 " Install L9 and avoid a Naming conflict if you've already installed a
Plugin 'user/L9', {'name': 'newL9'} " different version somewhere else.
Plugin 'ascenator/L9', {'name': 'newL9'}
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call vundle#end() " required call vundle#end() " required

View File

@ -72,8 +72,8 @@
" 插件在仓库的子目录中. " 插件在仓库的子目录中.
" 正确指定路径用以设置runtimepath. 以下范例插件在sparkup/vim目录下 " 正确指定路径用以设置runtimepath. 以下范例插件在sparkup/vim目录下
Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
" 避免插件名冲突,例如L9已存在,则可以指定 " 安装L9如果已经安装过这个插件可利用以下格式避免命名冲突
Plugin 'user/L9', {'name': 'newL9'} Plugin 'ascenator/L9', {'name': 'newL9'}
" 你的所有插件需要在下面这行之前 " 你的所有插件需要在下面这行之前
call vundle#end() " 必须 call vundle#end() " 必须