Completion cursor placement not behaving as expected
ayazhafiz opened this issue · comments
I have been unable to reproduce the expected cursor completion behavior implemented at
coc-angular/src/middleware/provideCompletionItem.ts
Lines 59 to 78 in 770db6f
For example, completing click
in the following template
<div (clic|)></div>
Currently gives
<div (click=""|)></div>
on my machine, with only coc and coc-angular enabled as packages.
Could anyone else verify that they are experiencing the same behavior? If this is in fact not the expected behavior, I would be happy to submit a patch for this.
I can reproduce the issue. it only works as expected that type start from (
.
Okay, I will attempt a patch. Do you have insight on the best way to develop this extension with CoC? Just install in CoC from the local branch of this extension?
The easy way to test local extension is to add the extension directory to vim's runtimepath
, coc will auto load extension from runtimepath
.