vim version: NVIM v0.4.3
node version: v12.16.1
coc.nvim version: 0.0.78-fc983ce6dd
term: tmux-256color
platform: darwin
[Info 11:32:52 PM] Using ultisnips directories: UltiSnips /Users/me/.config/coc/ultisnips
[Info 11:32:52 PM] Using ultisnips python command: pyx
When typing, the results appear but disappear after a split second
We will close your issue when you don't provide minimal vimrc and we can't
reproduce it
Create file mini.vim with:
set nocompatible
set runtimepath^=/path/to/coc.nvim
filetype plugin indent on
syntax on
set hidden
Start (neo)vim with command: vim -u mini.vim
Operate vim.
It's appearing but disappears all of a sudden.
Here is the previous release that was working:
If applicable, add screenshots to help explain your problem.
Can confirm this issue
Seems caused by af2b7f5
Also happend when writing typescript:
Can not get autocomplete with below code: (| is cursor)
const hello = `hello world`
console.log(he|);
Also happend when writing typescript:
Can not get autocomplete with below code: (
|is cursor)const hello = `hello world` console.log(he|);
I am at https://github.com/neoclide/coc.nvim/commit/64b63ed1e6c6517ce45b136eb4b0ef0f4ba1b10f and still can reproduce this.
I cannot trigger completion (auto trigger or even press ctrl-space) when I'm inside a function call.
Completion works fine when I'm not inside a function call.
I also tested using coc-go with go.trace.server set to verbose. When inside a function call, I trigger the completion manually by pressing ctrl-space, I can see the completion candidates returned by gopls in :CocInfo, but there is no completion popup.
No idea, checkout https://github.com/neoclide/coc.nvim/wiki/Debug-coc.nvim
I just did a git bisect and saw that the bug is caused by af2b7f5 as mentioned ealier by @voldikss.
I also tested ceb9e47 (the commit that closed this issue) but it didn't fix the bug for me.
I'm not familiar with typescript and coc.nvim codebase so I don't think I can help debug this issue.
Can you take a look at af2b7f5 again @chemzqm ?
I can't reproduce, please use latest release branch of coc.nvim.
Sorry, I tried again with all coc extensions disabled except for coc-tsserver, and the issue goes away.
Look like the culprit is coc-postfix, there was something in ceb9e47 that caused it to break. Can you take a look at it @fannheyward?
@mnrce just released coc-postfix 0.0.8 with a quick fix for this issue, please give it a test. If you still have any error, please open an issue at https://github.com/fannheyward/coc-postfix/issues
Most helpful comment
Seems caused by af2b7f5