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
|
struct CompletionData
|
||||||
{
|
{
|
||||||
// What should actually be inserted into the buffer. For functions, this
|
// What should actually be inserted into the buffer.
|
||||||
// should be the original string plus "("
|
|
||||||
std::string TextToInsertInBuffer()
|
std::string TextToInsertInBuffer()
|
||||||
{
|
{
|
||||||
if ( kind_ == 'f' )
|
|
||||||
return original_string_ + "(";
|
|
||||||
return original_string_;
|
return original_string_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user