Am 2014-05-27 20:27, schrieb ​​Babken Vardanyan:
See also: https://github.com/Valloric/YouCompleteMe/issues/992

When YouCompleteMe's diagnostic display is closed (i.e. a syntax
problem is fixed), the cursor position is not propery updated and the
next `h` and `l` keyspress moves the cursor relative to previous
column position (before closing).

This should demonstrate the issue better than I can explain:
https://cloud.githubusercontent.com/assets/4889592/3063795/688d70c2-e246-11e3-84f1-4de41a4c05f5.gif

Steps to reproduce:
0. Install YCM
1. Make a syntax mistake in a file: The 2-column diagnostic display
should appear at the left side
2. Correct the syntax mistake and quickly press `l` key twice (there
should be some more characters on the line to the left)
What happens: First time `l` key is pressed the cursor moves 2 columns
right from expected position.

This happens only when diagnostic display closes, and does not happen
when it opens.
I am not sure, what you mean by diagnostic display, but looking at your
screencast, I think you are talking about the sign column (:h sign)

That looks like its related to syntastic rather then to youcompleteme.
BTW: is there a way to reproduce this issue easily? I rather not like
to install youcompleteme and syntastic to try to debug this issue.

BTW: there have been some patches integrated, that fix redrawing issues
(specifically 7.4.277 which may fix you problem). So could you please
first check with the latest vim version?

kind regards,
Christian

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui