phpactor / coc-phpactor

Phpactor CoC Extension
https://github.com/phpactor/phpactor
MIT License
28 stars 3 forks source link

duplicates symbol $ #6

Closed fcojavierdomenech closed 4 years ago

fcojavierdomenech commented 4 years ago

Hi @dantleech, whenever I try to autocomplete a variable with the coc-phpactor extension it duplicates the $ symbol.

For instance,

$myv<c-o><c-u> will turn into $$myvariable

dantleech commented 4 years ago

Does https://phpactor.readthedocs.io/en/develop/lsp/vim.html#two-dollars-on-variables help?

fcojavierdomenech commented 4 years ago

Totally, I even had it added on the .phpactor.yml settings for another project, two weeks on holidays and there we are...

I feel so ashamed, thanks

dantleech commented 4 years ago

To be fair it's probably wrong by default, seems it can go either way depending on the environment.