coc.nvim icon indicating copy to clipboard operation
coc.nvim copied to clipboard

CocCommand stuck in /F: like folder

Open tkkcc opened this issue 3 years ago • 1 comments

In folders named /F: or /E:, CocCommand stucks, thus whole coc system down. /F: is plain folder on ext4 filesystem, not a mount point.

root@bilabila ~# mkdir -p /F:
root@bilabila ~# cd /F:
root@bilabila /F:# ls
root@bilabila /F:# nvim -c CocCommand 1.js
root@bilabila /F:# mkdir -p /E:
root@bilabila /F:# cd /E:
root@bilabila /E:# ls
root@bilabila /E:# nvim -c CocCommand 1.js

But in ~/F: or /FF: it works

root@bilabila /F# mkdir -p ~/F:
root@bilabila /F# cd ~/F:
root@bilabila ~/F:# ls
root@bilabila ~/F:# nvim -c CocCommand 1.js

I use bare config and root account

root@bilabila ~# cat .config/nvim/init.vim
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
call plug#end()

CocInfo

vim version: NVIM v0.4.4
node version: v15.11.0
coc.nvim version: 0.0.80-98a0c6db19
coc.nvim directory: /root/.vim/plugged/coc.nvim
term: rxvt-unicode-256color
platform: linux

BTW, I use /F: for cross platform reference in browser bookmark. e.g. `file:///F:/1.js' works both in linux and windows.

tkkcc avatar Mar 16 '21 08:03 tkkcc

Seems vscode-uri can't handle : inside folder name.

chemzqm avatar Mar 16 '21 09:03 chemzqm