tigersoldier / company-lsp

Company completion backend for lsp-mode
GNU General Public License v3.0
251 stars 26 forks source link

Use prefix "" when cursor is at trigger character #123

Open yyoncho opened 5 years ago

yyoncho commented 5 years ago

Fixes #122

yyoncho commented 5 years ago

CC @muirrn

muirdm commented 5 years ago

What about cases like fmt.Pri<>nt()? I don't necessarily think it is important, but it is a difference between VSCode so I want to consider it.

muirdm commented 5 years ago

This seems to break the normal trigger character behavior. For example, fmt.<> doesn't trigger completions automatically anymore.

yyoncho commented 5 years ago

What about cases like fmt.Pri<>nt()? I don't necessarily think it is important, but it is a difference between VSCode so I want to consider it.

It makes sense to support that as well. I will spend some more time into it.