Wednesday, April 26, 2017

Vim YouCompeleteMe doesn't update list as I type?

Leave a Comment

There is a popup list as I type Python, but it doesn't get updated (narrow down) with what I've already typed. Weirdly, as soon as I start deleting a character, the suggestion list gets updated correctly (as shown below).

enter image description here

I am using the default config. In my .vimrc, I only have one line for YCM

let g:ycm_global_ycm_extra_conf='~/.ycm_extra_conf.py' 

and that .ycm_extra_conf.py is the one shipped together with YCM in YouCompleteMe/third_party/ycmd/examples/.

How can I fix this?

1 Answers

Answers 1

You need to set this in your .vimrc

let g:ycm_auto_trigger = 1   

See here for this.

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment