I have this setting in vim
foldmarker={{{,}}}
commentstring=/*%s*/
foldmethod=marker
I want to create new marker using zf
, which does work for
void foo(void bar) {
}
when I selected that and press zf
, I get
void foo(void bar) {/*{{{*/
}/*}}}*/
so far so good. However when function definition contains pointer, like in
void foo(void * bar) {
}
I do get
void foo(void * bar) {{{{
}/*}}}*/
which is wrong. How can I configure vim to work properly even in second case?