tyru/current-func-info.vim — Issue #5: [C] Function wrongly detected
Author: jonthn
Created: 2012-02-04 22:52:17+00:00
State: open

In a code like this :
```
#include
#include

struct ooo {
int a;
};

int function()
{
return 0;
}

int main(int argc, char **argv)
{
struct ooo my_ooo;

my_ooo.a = 1;

return EXIT_SUCCESS;
}
```
when I place the cursor on the ";" after ```struct foo``` I get for the function name : "function()" which is obviously incorrect.