How about add “silent” to **completeopt**? Any suggestions?
*'completeopt'* *'cot'*
'completeopt' 'cot' string (default: "menu,preview")
………
preview Show extra information about the currently selected
completion in the preview window. Only works in
combination with “menu" or "menuone".
silent Suppress feedback messages like “Patterns not found”.
On Nov 5, 2013, at 14:16, zhaocai <[email protected]> wrote:
>> (char_u *)_(“") is *translated* empty string casted to unsigned char. What
>> do you need translation of an empty string for?
>
> If it is NULL, vim prints “back to original” message.
>> I am against this patch though as I do want to receive these messages. This
>> should be fixed by adding appropriate flag (such as s//e) to whatever method
>> that is giving these messages if you are sure there are no ways to use other
>> methods (e.g. :silent). Links you gave does not show the code which is
>> giving these messages, and without them discussion of proper ways to fix the
>> problem is pointless. The fact that YCM upstream said it is a vim bug does
>> not actually make this a vim bug.
>>
> On second thought, I agree that using **verbose** to suppress this message is
> inappropriate. Maybe a proper solution is to add a separate flag to
> temporally disable this message.
>> By the way, FAQ you referenced talks about "User defined completion <bla
>> bla> back at original" messages and you are silencing "Pattern not found"
>> ones. I do not understand why.
>>
>
>
> --
> --
> You received this message from the "vim_dev" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>
> ---
> You received this message because you are subscribed to the Google Groups
> "vim_dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.