added vitual chars for whitespaces.
This commit is contained in:
		
							parent
							
								
									c7de6a790e
								
							
						
					
					
						commit
						ec4a477c3a
					
				
					 2 changed files with 52 additions and 28 deletions
				
			
		| 
						 | 
				
			
			@ -68,6 +68,17 @@ opt.fillchars = 'stl:=,stlnc: ,vert:|,fold:-'
 | 
			
		|||
opt.foldcolumn = 'auto:4'
 | 
			
		||||
opt.foldenable = true
 | 
			
		||||
opt.foldignore = ''
 | 
			
		||||
--display whitespace as other chars:
 | 
			
		||||
opt.list = true
 | 
			
		||||
opt.listchars = {
 | 
			
		||||
    tab = '>-',
 | 
			
		||||
    eol = '↲',
 | 
			
		||||
    nbsp='␣',
 | 
			
		||||
    trail='•',
 | 
			
		||||
    extends = '⟩',
 | 
			
		||||
    precedes = '⟨'
 | 
			
		||||
}
 | 
			
		||||
opt.showbreak = '↪'
 | 
			
		||||
 | 
			
		||||
--keyboard mappings
 | 
			
		||||
local function optsWithDesc(desc)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue