.
This commit is contained in:
+1
-5
@@ -80,12 +80,10 @@
|
|||||||
Plug 'Donaldttt/vim-bufferline'
|
Plug 'Donaldttt/vim-bufferline'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if executable('node')
|
if executable('node')
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
endif
|
endif
|
||||||
if executable('fzf')
|
|
||||||
Plug 'antoinemadec/coc-fzf'
|
|
||||||
endif
|
|
||||||
|
|
||||||
" only work with nvim > 0.5
|
" only work with nvim > 0.5
|
||||||
" For other versions, just loading the plugin may
|
" For other versions, just loading the plugin may
|
||||||
@@ -359,8 +357,6 @@ endif
|
|||||||
" neoclide/coc.nvim {
|
" neoclide/coc.nvim {
|
||||||
if isdirectory(expand(plugin_dir . "/coc.nvim/")) && executable('node')
|
if isdirectory(expand(plugin_dir . "/coc.nvim/")) && executable('node')
|
||||||
" add desired extensions to the following global variable
|
" add desired extensions to the following global variable
|
||||||
" coc-tsserver: javascript
|
|
||||||
" coc-pyright: python
|
|
||||||
" coc-clangd: c/c++, may need to install clangd seperatly
|
" coc-clangd: c/c++, may need to install clangd seperatly
|
||||||
let g:coc_global_extensions = ['coc-pyright', 'coc-rls', 'coc-clangd', 'coc-tsserver', 'coc-html', 'coc-cmake', 'coc-json', 'coc-sh', 'coc-java']
|
let g:coc_global_extensions = ['coc-pyright', 'coc-rls', 'coc-clangd', 'coc-tsserver', 'coc-html', 'coc-cmake', 'coc-json', 'coc-sh', 'coc-java']
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user