Mention auto-insert wrapping bug in the FAQ

This commit is contained in:
micbou 2017-10-08 11:40:32 +02:00
parent b5c8e57962
commit 24690b44b0
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05
2 changed files with 17 additions and 6 deletions

View File

@ -2663,9 +2663,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,

View File

@ -429,6 +429,11 @@ Install development tools and CMake:
>
sudo apt-get install build-essential cmake
<
**Note:** On older systems (e.g. Ubuntu 14.04) you may run into compilation
issues with 'cmake'. Therefore, install the following instead:
>
sudo apt-get install build-essential cmake3
<
Make sure you have Python headers installed:
>
sudo apt-get install python-dev python3-dev
@ -2911,9 +2916,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