Almost everytime I run :PlugUpdate (with vim-plug) I get a refusing to merge unrelated histories error message which requires me to run :PlugClean and :PlugInstall
Error: javascript bundle not found, run :call coc#util#install() to fix.
## versions
vim version: NVIM v0.4.3
node version: v11.15.0
coc.nvim version: 0.0.77-817efd5108
term: xterm-256color
platform: linux
## Output channel: prettier
## Output channel: git
Looking for git in: git
> git rev-parse --show-toplevel
resolved root: /usr/local/google/home/elentok/.dotfiles
resolved root: /usr/local/google/home/elentok/.dotfiles
> git symbolic-ref --short HEAD
> git diff --name-status
> git diff --staged --name-status
> git ls-files --others --exclude-standard
Using the vim-plug package manager, when I run :PlugUpdate
Created file mini.vim with (the issue is related to vim-plug, so I need to load it using vim-plug):
set nocompatible
filetype plugin indent on
syntax on
set hidden
call plug#begin('~/.local/share/nvim-plugins')
Plug 'neoclide/coc.nvim', { 'branch': 'release' }
call plug#end()
Started neovim with command: nvim -u mini.vim
Ran :PlugUpdate and got this output:
Updated. Elapsed time: 0.844394 sec.
[x]
- Finishing ... Done!
x coc.nvim:
fatal: refusing to merge unrelated histories
It's problem of your vim-plug.
Hi @chemzqm ,
Thanks,
David.
VIM-PLUG is recommended. I use it and call :PlugUpdate daily and never hit this.
@elentok We don't know what's wrong with your vim-plug or plugin state, please don't ask this kind of question in issue list.
Try
Plug 'neoclide/coc.nvim', { 'branch': 'release' } and run :PlugInstall again