Not adding a '(' after a function name insert
This commit is contained in:
parent
3cc4cf8e10
commit
e9cf3c14b2
@ -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_;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user