7 lines
		
	
	
		
			520 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			520 B
		
	
	
	
		
			VimL
		
	
	
	
	
	
" Transparent regions to enable syntax based folding.
 | 
						|
syntax region cmakeIfBlock start='if(.*)' end='endif(.*)' fold transparent keepend
 | 
						|
syntax region cmakeFunctionBlock start='function(.*)' end='endfunction(.*)' fold transparent keepend
 | 
						|
syntax region cmakeMacroBlock start='macro(.*)' end='endmacro(.*)' fold transparent keepend
 | 
						|
syntax region cmakeForeachBlock start='foreach(.*)' end='endforeach(.*)' fold transparent keepend
 | 
						|
syntax region cmakeWhileBlock start='while(.*)' end='endwhile(.*)' fold transparent keepend
 |