Hi, all
I encounter a strange problem when use vim7, the following steps will reproduce the problem:
   1. run vim with command: vim -u NONE -U NONE
   2. set the follwoing options:
        :set nocompatible
        :set completeopt+=longest
   3. input some text into the buffer like this:
        foo.bar bet better
4. then input fo<C-P>, fo will completed as foo, that is expected, input '.b' after "foo", now the text becomes "foo.b", then press <C-P>, it will become "fo".
   Is it expected or maybe a bug?  Any explanation is welcomed!

Best regards,
Vincent

Reply via email to