Merge pull request #692 from wsdjeg/master
Updates example in readme to better explain the 'name' option
This commit is contained in:
		
						commit
						775d94dee9
					
				@ -70,8 +70,9 @@
 | 
			
		||||
   " The sparkup vim script is in a subdirectory of this repo called vim.
 | 
			
		||||
   " Pass the path to set the runtimepath properly.
 | 
			
		||||
   Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
 | 
			
		||||
   " Avoid a name conflict with L9
 | 
			
		||||
   Plugin 'user/L9', {'name': 'newL9'}
 | 
			
		||||
   " Install L9 and avoid a Naming conflict if you've already installed a
 | 
			
		||||
   " different version somewhere else.
 | 
			
		||||
   Plugin 'ascenator/L9', {'name': 'newL9'}
 | 
			
		||||
 | 
			
		||||
   " All of your Plugins must be added before the following line
 | 
			
		||||
   call vundle#end()            " required
 | 
			
		||||
 | 
			
		||||
@ -72,8 +72,8 @@
 | 
			
		||||
   " 插件在仓库的子目录中.
 | 
			
		||||
   " 正确指定路径用以设置runtimepath. 以下范例插件在sparkup/vim目录下
 | 
			
		||||
   Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
 | 
			
		||||
   " 避免插件名冲突,例如L9已存在,则可以指定
 | 
			
		||||
   Plugin 'user/L9', {'name': 'newL9'}
 | 
			
		||||
   " 安装L9,如果已经安装过这个插件,可利用以下格式避免命名冲突
 | 
			
		||||
   Plugin 'ascenator/L9', {'name': 'newL9'}
 | 
			
		||||
 | 
			
		||||
   " 你的所有插件需要在下面这行之前
 | 
			
		||||
   call vundle#end()            " 必须
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user