mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 09:44:31 +00:00 
			
		
		
		
	host.vim: expand $MYVIMRC. #3342
According to the vim helpfile:
> fnamemodify({fname}, {mods})
>    ...
>    Note: Environment variables don't work in {fname}, use
>    expand() first then.
So this causes issues if your $MYVIMRC contains environment variables
(e.g. $XDG_CONFIG_HOME)
			
			
This commit is contained in:
		
				
					committed by
					
						
						Justin M. Keyes
					
				
			
			
				
	
			
			
			
						parent
						
							6bcbb18dc8
						
					
				
				
					commit
					5613b62224
				
			@@ -1,6 +1,6 @@
 | 
			
		||||
let s:hosts = {}
 | 
			
		||||
let s:plugin_patterns = {}
 | 
			
		||||
let s:remote_plugins_manifest = fnamemodify($MYVIMRC, ':p:h')
 | 
			
		||||
let s:remote_plugins_manifest = fnamemodify(expand($MYVIMRC, 1), ':h')
 | 
			
		||||
      \.'/.'.fnamemodify($MYVIMRC, ':t').'-rplugin~'
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user