Given this text (two lines with four leading spaces on each):
xx
And, given these settings (auto format + second line indent):
:set textwidth=25
:set formatoptions=a2
Inserting a space on line 2 column 1 results in a cursor positioning bug, to
wit, the cursor is
Greetings all,
Using auto-format with 2nd line indent (fo+=a2) works well, but there
is a situation where it's a little awkward...
Lets say we want to make a new paragraph with auto-format and 2nd line
indent that will end up looking something like this:
xx
b
On Sun, Jul 15, 2012 at 12:55:53AM +, v...@googlecode.com wrote:
> Status: New
> Owner:
> Labels: Type-Defect Priority-Medium
>
> New issue 74 by zyx@gmail.com: Auto-formatting comments is broken when
> second line has different indentation and using fo+=2
> http://code.google.com/p
On Fri, Jun 29, 2012 at 03:05:02PM +0200, Bram Moolenaar wrote:
>
> Patch 7.3.576
> Problem:Formatting of lists inside comments is not right yet.
> Solution: Use another solution and add a test. (Tor Perkins)
> Files:src/edit.c, src/misc1.c, src/te
On Wed, Jun 20, 2012 at 05:13:53PM -0700, Tor Perkins wrote:
>
> [ ... ]
>
> I've attached a patch that I think works a bit better. It's a bit
> of a band-aid, because ideally, I'd like to see the comment case act
> like the non-comment case, e.g. both like so
On Wed, Jun 20, 2012 at 11:37:20PM +0200, Christian Brabandt wrote:
> On Mi, 20 Jun 2012, v...@googlecode.com wrote:
> > Status: New
> > Owner:
> > Labels: Type-Defect Priority-Medium
> >
> > New issue 65 by inkar...@gmail.com: Auto-wrap inside comments with
> > numbered list is broken (regre
emember to free it later */
> >
> >
> > $ hg -v log -r3584
> > changeset: 3584:443c50cd3e88
> > tag: v7-3-552
> > user:Bram Moolenaar
> > date:Wed Jun 13 17:28:55 2012 +0200
> > files: src/edit.c src/misc1.c src/ops.c
On Tue, Jun 05, 2012 at 08:01:57PM -0700, Tor Perkins wrote:
>
> Greetings all,
>
> Given these settings:
>
> :set tw=20
> :set formatoptions=tcq2
> :set smartindent
>
> ... and given this text:
>
> NOTE: blah blah
> blah blah
>
Greetings all,
Given these settings:
:set tw=20
:set formatoptions=tcq2
:set smartindent
... and given this text:
NOTE: blah blah
blah blah
# NOTE: blah blah
# blah blah
If I do gq{motion} on the top paragraph, formatting is unchanged (as
expected), however,