phpactor / coc-phpactor

Phpactor CoC Extension

Home Page:https://github.com/phpactor/phpactor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

duplicates symbol $

fcojavierdomenech opened this issue · comments

commented

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

  • If I start nvim without the extension enabled and then I enable such extension it does not happen.
  • If I start nvim with the extension enabled and then I disable and enable it again it does not happen.
  • If I start nvim with the extension enabled then it happens.
commented

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

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