I have coc-explorer
installed via Home Manager, but when trying to use it via :CocCommand explorer
I get [coc.nvim] Command: explorer not found
. It also doesn’t show up under :CocList extensions
. Other plugins installed in the exact same way, such as coc-pyright
show up there and are working.
Here’s my config.
{
programs.neovim = {
enable = true;
extraConfig = ''
if (has("nvim"))
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
endif
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
if (has("termguicolors"))
set termguicolors
endif
filetype plugin indent on
syntax on
set tabstop=4 shiftwidth=4 expandtab
set clipboard+=unnamedplus
'';
extraPackages = with pkgs;
[ (python3.withPackages (ps: with ps; [ black isort pylint ])) ];
plugins = with pkgs.vimPlugins; [
vim-nix
coc-nvim
coc-css
coc-explorer
coc-git
coc-go
coc-html
coc-json
coc-prettier
coc-pyright
coc-rust-analyzer
coc-tsserver
coc-yaml
{
plugin = vim-autoformat;
# https://github.com/Chiel92/vim-autoformat/blob/2a6f931987c1cc5e5bc0c4c44f21ac9bd4c72f3b/plugin/defaults.vim
config = ''
let g:formatters_javascript = ['prettier']
let g:formatters_json = ['prettier']
let g:formatters_python = ['black']
let g:formatters_typescript = ['prettier']
let g:formatters_yaml = ['prettier']
'';
}
{
plugin = vim-one;
config = ''
set background=dark
colorscheme one
'';
}
vim-lastplace
];
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
};
}
Any ideas on how to troubleshoot this? Is coc-explorer
working for anyone else?