I would like to use the syntax foldmethod method but all I can get is
"no fold found".
I thought is was somewhere caused by an added script and tried the following:
(Using the latest vim without cream, version 7.3.266, on windows seven)
gvim -U NONE -u NONE toto.cpp
:set nocp
:set filetype=cpp
:syntax on
:set foldmethod=syntax
zc
-> No fold found (having the cursor inside a block)
Dummy content of toto.cpp:
int main (int argc, char** argv)
{
if (argc == 0)
{
printf("pouet\n");
printf("pouet\n");
printf("pouet\n");
}
return 0;
}
I'm having the same issue with the file renamed "toto.c" and the
filetype set to c.
What am I missing ?
Etienne
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment