Closed drbeco closed 5 months ago
Added
export VIMCONFIG="$HOME/.config/vim/"
to /etc/profile
solved the issue
Reference for your VIM configuration inside ~/.config/vim
: https://vi.stackexchange.com/questions/11879/how-can-put-vimrc-and-viminfo-into-vim-directory/20067#20067
Result from CocInfo
versions
vim version: VIM - Vi IMproved 9.0 9002127 node version: v20.0.0 coc.nvim version: 0.0.82-6e4e6eaf 2023-09-08 01:05:35 +0800 coc.nvim directory: /etc/vim/plugged/coc.nvim term: dumb platform: linux
Log of coc.nvim
2024-02-11T10:28:03.998 ERROR (pid:6882) [extensions-index] - Error on load package.json of coc-ccls Error: main file ./lib/extension.js not found, you may need to build the project. at X7 (/etc/vim/plugged/coc.nvim/build/index.js:251:21044) at async gF.globalExtensions (/etc/vim/plugged/coc.nvim/build/index.js:252:7107) 2024-02-11T10:28:04.292 INFO (pid:6882) [plugin] - coc.nvim initialized with node: v20.0.0 after 374 2024-02-11T10:29:13.648 INFO (pid:6882) [attach] - receive notification: showInfo [] 2024-02-11T10:29:26.888 INFO (pid:6882) [attach] - receive notification: showInfo []
Describe the bug
When running
:CocConfig
, it asks immediately to create directory~/.vim
instead of allowing for a more organized configuration such as~/.config/vim
Reproduce the bug
We will close your issue when you don't provide minimal vimrc and we can't reproduce it
vimrc
~/.vim
directory to something else:CocConfig