Hi,

A user complained that a plugin of mine broke cursor movement. He
writes:

> have a text file:
>
> xxxxxxxxxxFxxxxxxxxxxxxxxxExx
> yyyyyyyyyyD
> zzzzzzzzzzzzzzzzzzzzzzzzzzCzzzzz
>
> Position  cursor at C, move up a line: you're on D, move up, you're on
> E.  However, when I've quickfixsigns in plugin, I land at F instead of
> E.

It seems the problem is caused by CursorMoved(I) autocommands.

The problem becomes apparent when evaluating the following code:

    function! QuickfixsignsSet(event)
        let lz = &lazyredraw
        set lz
        let &lz = lz
    endf

    autocmd CursorMoved * call QuickfixsignsSet("CursorMoved")

If this is intended, this interaction should probably be added the
the
help section of CursorMoved(I).

Regards,
Thomas.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui