Closed cridemichel closed 8 months ago
I noticed that inserting a file name after single or double quote it works as expected, the reported behavior occurs only when you start a new line with a "./" which is rather meaningless though. Hence I close my issue myself :-)
Result from CocInfo
versions
vim version: VIM - Vi IMproved 9.1 9010000 node version: v21.6.0 coc.nvim version: 0.0.82-d1568d56 2023-09-29 19:43:34 +0800 coc.nvim directory: /Users/demichel/.vim/plugged/coc.nvim term: iTerm.app platform: darwin
Log of coc.nvim
2024-01-19T11:42:31.894 WARN (pid:51960) [workspace] - Extension "coc-lists" registered synchronized autocmd "VimLeavePre", which could be slow. 2024-01-19T11:42:31.955 INFO (pid:51960) [plugin] - coc.nvim initialized with node: v21.6.0 after 472 2024-01-19T11:42:35.551 INFO (pid:51960) [attach] - receive notification: showInfo []
Describe the bug
file completion gets lost when completion is retriggered manually
Reproduce the bug
1) open a python file 2) trigger a file completion by typing "./" 3) possible file names will be suggested in the popup window 4) move to left by pressing the keyboard left arrow, so that popup completion window is closed 5) go back to previois cursor position by pressing the keyboard right arrow 6) trigger completion manually ( by pressing CTRL+ in my case)
7) files are not suggested anymore in the completion popup window
NOTE: with .c or .cpp it works as expected, i.e. after manual triggering still files are present in popup completion window
I used the following minimal .vimrc file called "mini.vim":
and started vim with command:
vim -u mini.vim