From e9cf3c14b27a97af4b8f63054a4218fa5a44cb4f Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Thu, 26 Jul 2012 20:53:38 -0700 Subject: [PATCH] Not adding a '(' after a function name insert --- cpp/ycm/CompletionData.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cpp/ycm/CompletionData.h b/cpp/ycm/CompletionData.h index 8f862a9a..10253494 100644 --- a/cpp/ycm/CompletionData.h +++ b/cpp/ycm/CompletionData.h @@ -23,12 +23,9 @@ namespace YouCompleteMe struct CompletionData { - // What should actually be inserted into the buffer. For functions, this - // should be the original string plus "(" + // What should actually be inserted into the buffer. std::string TextToInsertInBuffer() { - if ( kind_ == 'f' ) - return original_string_ + "("; return original_string_; }