randomphrase / company-c-headers

Auto-completion for C/C++ headers using Company
GNU General Public License v2.0
76 stars 9 forks source link

Do not insert terminating delimiter if already exist. #5

Closed coldnew closed 9 years ago

coldnew commented 9 years ago

If terminating delimiter already exist, move to end of line instead of insert it.

Signed-off-by: Yen-Chin Lee coldnew.tw@gmail.com

coldnew commented 9 years ago

Add testcase, this test can work under commit 96a1f0a but failed on commit eef712d. Not the (end-of-line) in testing code is needed, else the testing code will not work properly if double terminating delimiter inserted.

randomphrase commented 9 years ago

Thanks!