Eric Van Dewoestine wrote: > > I know about this: When you type the "." and there no complete > > match was inserted (showing the longest common text in this example), > > Vim assumes you are extending the text to reduce the list of matches. > > Thus the completion still starts at "BlahBlah". > > > > You need to stop completion somehow, e.g., with a space and backspace. > > > > This is not a nice way to work. I thought of having all punctuation > > characters stop completion, but that breaks completion of items where > > punctuation can be part of the match (e.g., () for functions). > > > > Ah, that makes sense. What about an option for specifying what > characters end the completion? > > setlocal completedelim+=. > > or something similar?
It's too complicated already, adding another option will mainly cause more users to get confused. Also, I wouldn't know what to set it to for C. -- ARTHUR: I've said I'm sorry about the old woman, but from the behind you looked ... DENNIS: What I object to is that you automatically treat me like an inferior... ARTHUR: Well ... I AM king. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///