[Vimoutliner] outline level numbering is wacked?

Peter Princz princzp at gmail.com
Sat Mar 10 17:26:09 EST 2007


Hello Sam,

On 10/03/07, Sam Roberts <sroberts at uniserve.com> wrote:
> I don't know, maybe I am using it wrong, but it sure doesn't make sense to me!
>
> The coloring is also a screwed up, since it seems to be following the
> numbering.
>
> I'm quite enjoying vimoutliner mode other than this.
>
>
> Here's what I see (NOTES is attached), lines starting with -- are comments:
>

I tried to reproduce the issues you described with little success. I'm
not dare to screw up me vim or vimoutliner resource files, so I just
opened your sample in my vimoutliner and ignored the resource file.

This way, both coloring and indentation works OK for me (gvim 7 on
windows XP, but this is not important, I think.)
I was hoping there are spaces mixed with tabs in your file, which
would probably explain your observations, but it's OK from this
respect too.

The only thing I can imagine is that you are in a bit of a
misunderstanding with the numbers in the leftmost column, they do
*not* reflect *always* the indentation level, the last lines being
exceptions on each level, as far as I observed. I think 'foldcolumn'
is set to '1' for you, I suggest to start to increase it by one until
say 7 and you will get it.

At least for me vim tells me in the statusline the correct indent
value. I haven't investigated how, in theory it should be
'statusline', but that's empty for me, and still it works.

One more thing I'd like to add. I myself managed to screw up indenting
in one of my outline files, but I think it has nothing to do with
vimoutliner, the issue is related to vim7: *if* the encoding is set to
utf8 (multibyte), *and* the first non-whitespace character is a
diacritical one, *then* both indenting and coloring makes a mistake
and shifts the item with one level. The only workaround is to rephrase
my items as to not to start them with diacritical characters... :)

Hope this all helps, sorry if not.

Have a nice day,
  Peter

---
A bug in the hand is better than one as yet undetected.


More information about the VimOutliner mailing list