Closed tonnyone closed 3 years ago
刚开始用这种方式安装的 Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile'}
发现有时候加载不了部分extension:
Plug 'neoclide/coc-vetur', {'do': 'yarn install --frozen-lockfile'}
Plug 'neoclide/coc-prettier', {'do': 'yarn install --frozen-lockfile'}
换成这种方式就好了
let g:coc_global_extensions = [
\ 'coc-html',
\ 'coc-css',
\ 'coc-tsserver',
\ 'coc-json',
\ 'coc-snippets',
\ 'coc-highlight',
\ 'coc-pairs',
\ 'coc-vetur',
\ 'coc-prettier'
\]
配置文件显示这样:
用一下命令看,什么也没有输出:
:CocCommand workspace.showOutput vetur.