mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-04 01:34:25 +00:00 
			
		
		
		
	doc: Fix pathshorten() example (#7571)
This commit is contained in:
		
				
					committed by
					
						
						Justin M. Keyes
					
				
			
			
				
	
			
			
			
						parent
						
							f8d40e7d53
						
					
				
				
					commit
					59b0d9f62d
				
			@@ -5811,7 +5811,7 @@ pathshorten({expr})					*pathshorten()*
 | 
			
		||||
		components in the path are reduced to single letters.  Leading
 | 
			
		||||
		'~' and '.' characters are kept.  Example: >
 | 
			
		||||
			:echo pathshorten('~/.config/nvim/autoload/file1.vim')
 | 
			
		||||
<			~/.v/a/file1.vim ~
 | 
			
		||||
<			~/.c/n/a/file1.vim ~
 | 
			
		||||
		It doesn't matter if the path exists or not.
 | 
			
		||||
 | 
			
		||||
pow({x}, {y})						*pow()*
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user