Customize how Vim does C formatting
This commit is contained in:
		
							parent
							
								
									83d4a9af28
								
							
						
					
					
						commit
						70e4800d5e
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -8,3 +8,10 @@ if has('mac')
 | 
			
		|||
elseif has('linux')
 | 
			
		||||
    set tags+=~/.vim/systags-linux
 | 
			
		||||
endif
 | 
			
		||||
 | 
			
		||||
" Do comments that look like this:
 | 
			
		||||
" /* stuff and things
 | 
			
		||||
"    more stuff with things */
 | 
			
		||||
set comments="sO:* -,mO:   ,exO:*/,sl:/*,mb: ,ex:*/"
 | 
			
		||||
 | 
			
		||||
set cinoptions+=(0,Ws
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue