Allow white space in cmake region matches
This commit is contained in:
parent
65d3e645b1
commit
b69f2d889d
@ -1,6 +1,6 @@
|
||||
" 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
|
||||
syntax region cmakeIfBlock start='if\s*(.*)' end='endif\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeFunctionBlock start='function\s*(.*)' end='endfunction\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeMacroBlock start='macro\s*(.*)' end='endmacro\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeForeachBlock start='foreach\s*(.*)' end='endforeach\s*(.*)' fold transparent keepend
|
||||
syntax region cmakeWhileBlock start='while\s*(.*)' end='endwhile\s*(.*)' fold transparent keepend
|
||||
|
Loading…
x
Reference in New Issue
Block a user