iamcco / coc-angular

Angular Language Service coc extension for (neo)vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coc-angular breaks coc-rename command

ic-768 opened this issue · comments

Describe the bug
Prior to installing the plugin, coc-rename works normally. After installing the plugin, the error [coc-nvim] Invalid position for rename is thrown.

To Reproduce
Steps to reproduce the behavior:

  1. Map the coc-rename command, e.g.: nmap <silent> gs <Plug>(coc-rename)
  2. Hover over a symbol in a .ts file in an angular project
  3. Trigger the command
  4. See error

Expected behavior
Trigger the command normally without errors

Desktop (please complete the following information):

  • OS: Linux

I'm seeing this as well.

commented

mmm just posted the same issue, gonna delete it and watch this one

commented

+1 for having this issue.

Looks like it might have been "resolved" upstream here?
angular/vscode-ng-language-service#1687

What's your project angular version?

What's your project angular version?

This happens both with v.13 and v.14

i faced same issues.
angular version : 10
coc-angular version : 13.3.6