mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	rplugin: resolve paths in manifest file (#5501)
`:CheckHealth nvim` would always report an outdated manifest if symlinks were used, because the manifest file contains unresolved paths that get compared against resolved paths. Now we resolve paths before they get written to the manifest file.
This commit is contained in:
		 Marco Hinz
					Marco Hinz
				
			
				
					committed by
					
						 Justin M. Keyes
						Justin M. Keyes
					
				
			
			
				
	
			
			
			 Justin M. Keyes
						Justin M. Keyes
					
				
			
						parent
						
							869a9078e1
						
					
				
				
					commit
					657ba62a84
				
			| @@ -190,7 +190,7 @@ function! s:RegistrationCommands(host) abort | ||||
|   call remote#host#RegisterClone(host_id, a:host) | ||||
|   let pattern = s:plugin_patterns[a:host] | ||||
|   let paths = globpath(&rtp, 'rplugin/'.a:host.'/'.pattern, 0, 1) | ||||
|   let paths = map(paths, 'tr(v:val,"\\","/")') " Normalize slashes #4795 | ||||
|   let paths = map(paths, 'tr(resolve(v:val),"\\","/")') " Normalize slashes #4795 | ||||
|   let paths = uniq(sort(paths)) | ||||
|   if empty(paths) | ||||
|     return [] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user