Fix isdirectory() uses with relative paths
				
					
				
			After upgrading VIM 8.2 (2019 Dec 12, compiled Oct 24 2020 16:26:37) uses of `isdirectory()` with relative paths in `$MYVIMRC` stopped working. These must now be absolute paths.
This commit is contained in:
		
							parent
							
								
									e4a11a2ffe
								
							
						
					
					
						commit
						48913e09c3
					
				
							
								
								
									
										4
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								vimrc
									
									
									
									
									
								
							| @ -202,11 +202,11 @@ Pack 'jrozner/vim-antlr' | ||||
| Pack 'greymd/oscyank.vim', {'type': 'opt'} | ||||
| let g:use_osc52 = $TMUX !=# '' && | ||||
| \ trim(system('tmux show-options -g set-clipboard')) ==# 'set-clipboard on' | ||||
| if g:use_osc52 && isdirectory('pack/minpac/opt/oscyank.vim') | ||||
| if g:use_osc52 && isdirectory(expand('~/.vim/pack/minpac/opt/oscyank.vim')) | ||||
|   packadd oscyank.vim | ||||
| endif | ||||
| 
 | ||||
| " Load YouComplteMe if termdebug plugin is not loaded. | ||||
| if !exists(':Termdebug') && isdirectory('pack/minpac/opt/YouCompleteMe') | ||||
| if isdirectory(expand('~/.vim/pack/minpac/opt/YouCompleteMe')) | ||||
|   packadd YouCompleteMe | ||||
| endif | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user