15 lines
292 B
VimL
15 lines
292 B
VimL
" TODO Create fold markers based on cmake syntax, eg.
|
|
"
|
|
" if() <- open
|
|
" endif() <- close
|
|
"
|
|
" foreach() <- open
|
|
" endforeach() <- close
|
|
"
|
|
" and so on for all other begin end style command pairs.
|
|
"
|
|
" Then change the setting.
|
|
"
|
|
" setlocal foldmethod=syntax
|
|
setlocal foldmethod=indent
|