Closed otavioschwanck closed 2 years ago
Maybe you have triggered coc#pum#insert
which not insert snippet, or something else happened.
@chemzqm i used:
inoremap
Try minimal vimrc
@chemzqm
Try minimal vimrc
my imap CR:
i
Removed eunuch and same problem happens:
i <CR> * coc#pum#visible() ? coc#pum#confirm(): "\<C-G>u\<CR>\<C-R>=coc#on_enter()\<CR>"```
Only using CoC
@chemzqm one important detail:
the onClick, when dont complete the snippet, it adds the = (part or snippet)
the result is:
onClick=
And when expand all snippets it gets:
onClick={}
Always expand as expected for me, try latest tsserver by configure tsserver.sdk
Always expand as expected for me, try latest tsserver by configure tsserver.sdk
how can i do that?
Ignoring the local tsserver fixes the problem
Example with typescript and Bootstrap-react (Button tag):
Its seems that is randomly expands.
Or maybe only when i go down a (when its in 3rd item), this way it expand most of times.
Infos: https://pasteio.com/xjxMp6rXQqzf https://pasteio.com/xbDke1p52DWQ
about the infos: executed two times, one worked, one not