Auto merge of #2802 - micbou:auto-insert-wrap, r=bstaletic
[READY] Mention auto-insert wrapping bug in the FAQ
Prior to version 8.0.0127, Vim would insert the first suggestion when leaving completion while auto-wrapping text. See issue https://github.com/vim/vim/issues/1312 and [the corresponding patch](73fd498886
). This would cause issues #771 and #2789 when using YCM.
We mention this bug in the FAQ and suggest to update to Vim 8.0.0127 or later.
Closes https://github.com/Valloric/YouCompleteMe/issues/771.
Closes https://github.com/Valloric/YouCompleteMe/issues/2789.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2802)
<!-- Reviewable:end -->
This commit is contained in:
commit
cd41727462
@ -2667,9 +2667,12 @@ cache.
|
||||
|
||||
### YCM auto-inserts completion strings I don't want!
|
||||
|
||||
This means you probably have some mappings that interfere with YCM's internal
|
||||
ones. Make sure you don't have something mapped to `<C-p>`, `<C-x>` or `<C-u>`
|
||||
(in insert mode).
|
||||
If this happens when Vim automatically wraps text then it's a Vim bug that has
|
||||
been fixed in version 8.0.0127. Update your Vim to this version or later.
|
||||
|
||||
This could also be some mappings that interfere with YCM's internal ones. Make
|
||||
sure you don't have something mapped to `<C-p>`, `<C-x>` or `<C-u>` (in insert
|
||||
mode).
|
||||
|
||||
YCM _never_ selects something for you; it just shows you a menu and the user has
|
||||
to explicitly select something. If something is being selected automatically,
|
||||
|
@ -2921,9 +2921,12 @@ cache.
|
||||
*youcompleteme-ycm-auto-inserts-completion-strings-i-dont-want*
|
||||
YCM auto-inserts completion strings I don't want! ~
|
||||
|
||||
This means you probably have some mappings that interfere with YCM's internal
|
||||
ones. Make sure you don't have something mapped to '<C-p>', '<C-x>' or '<C-u>'
|
||||
(in insert mode).
|
||||
If this happens when Vim automatically wraps text then it's a Vim bug that has
|
||||
been fixed in version 8.0.0127. Update your Vim to this version or later.
|
||||
|
||||
This could also be some mappings that interfere with YCM's internal ones. Make
|
||||
sure you don't have something mapped to '<C-p>', '<C-x>' or '<C-u>' (in insert
|
||||
mode).
|
||||
|
||||
YCM _never_ selects something for you; it just shows you a menu and the user
|
||||
has to explicitly select something. If something is being selected
|
||||
|
Loading…
Reference in New Issue
Block a user