Supports less pre-save trailing whitespace trim
This commit is contained in:
		
							parent
							
								
									f4f6a79481
								
							
						
					
					
						commit
						a96c00a36c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -391,7 +391,7 @@ vnoremap L $
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
" trim trailing whitespace on save
 | 
			
		||||
autocmd BufWritePre *.{js,py,tpl,html} :%s/\s\+$//e
 | 
			
		||||
autocmd BufWritePre *.{js,py,tpl,less,html} :%s/\s\+$//e
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
" set default font and size
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue