aca0f21a3d
When selecting candidates during completion, Vim jumps to the preview window (if enabled) and jumps back to the actual buffer, triggering twice the BufEnter autocommand event. This results in YCM sending two BufferVisit and one FileReadyToParse event notifications to ycmd, which is completely unnecessary since the current buffer did not change. We improve this by only sending these events when the entered buffer allowed to be completed has changed. |
||
---|---|---|
.. | ||
youcompleteme.vim |