Matt Wozniski wrote:
> In #vim, ShingRay pointed out a bug in cindent, which can be reproduced with:
>
> echo $'void f() {\nif (1)\n;\n}' \
> | vim - -u NONE -N -c 'set ft=c' -c 'norm gg=G'
>
> The above adds an extra 'shiftwidth' to every line. It's caused by
> vim mistakenly deci
On Thu, Feb 25, 2010 at 1:37 AM, Matt Wozniski wrote:
>
> diff -r 903fcd726d90 src/misc1.c
> --- a/src/misc1.c Thu Feb 11 18:54:43 2010 +0100
> +++ b/src/misc1.c Thu Feb 25 01:21:16 2010 -0500
... Obviously, I meant for this to go to vim_dev instead of vim_use.
I need to pay more atte
In #vim, ShingRay pointed out a bug in cindent, which can be reproduced with:
echo $'void f() {\nif (1)\n;\n}' \
| vim - -u NONE -N -c 'set ft=c' -c 'norm gg=G'
The above adds an extra 'shiftwidth' to every line. It's caused by
vim mistakenly deciding that "void f() {" is specifying