.
This commit is contained in:
+21
-21
@@ -79,12 +79,12 @@
|
|||||||
" The bottom buffer display
|
" The bottom buffer display
|
||||||
Plug 'Donaldttt/vim-bufferline'
|
Plug 'Donaldttt/vim-bufferline'
|
||||||
Plug 'ryanoasis/vim-devicons'
|
Plug 'ryanoasis/vim-devicons'
|
||||||
if executable('node')
|
endif
|
||||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
if executable('node')
|
||||||
endif
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
if executable('fzf')
|
endif
|
||||||
Plug 'antoinemadec/coc-fzf'
|
if executable('fzf')
|
||||||
endif
|
Plug 'antoinemadec/coc-fzf'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" only work with nvim > 0.5
|
" only work with nvim > 0.5
|
||||||
@@ -103,23 +103,23 @@
|
|||||||
"{ lsp-zero
|
"{ lsp-zero
|
||||||
|
|
||||||
" LSP Support
|
" LSP Support
|
||||||
Plug 'neovim/nvim-lspconfig' " Required
|
" Plug 'neovim/nvim-lspconfig' " Required
|
||||||
Plug 'williamboman/mason.nvim' " Optional
|
" Plug 'williamboman/mason.nvim' " Optional
|
||||||
Plug 'williamboman/mason-lspconfig.nvim' " Optional
|
" Plug 'williamboman/mason-lspconfig.nvim' " Optional
|
||||||
|
|
||||||
" Autocompletion Engine
|
" " Autocompletion Engine
|
||||||
Plug 'hrsh7th/nvim-cmp' " Required
|
" Plug 'hrsh7th/nvim-cmp' " Required
|
||||||
Plug 'hrsh7th/cmp-nvim-lsp' " Required
|
" Plug 'hrsh7th/cmp-nvim-lsp' " Required
|
||||||
Plug 'hrsh7th/cmp-buffer' " Optional
|
" Plug 'hrsh7th/cmp-buffer' " Optional
|
||||||
Plug 'hrsh7th/cmp-path' " Optional
|
" Plug 'hrsh7th/cmp-path' " Optional
|
||||||
Plug 'saadparwaiz1/cmp_luasnip' " Optional
|
" Plug 'saadparwaiz1/cmp_luasnip' " Optional
|
||||||
Plug 'hrsh7th/cmp-nvim-lua' " Optional
|
" Plug 'hrsh7th/cmp-nvim-lua' " Optional
|
||||||
|
|
||||||
" Snippets
|
" " Snippets
|
||||||
Plug 'L3MON4D3/LuaSnip' " Required
|
" Plug 'L3MON4D3/LuaSnip' " Required
|
||||||
Plug 'rafamadriz/friendly-snippets' " Optional
|
" Plug 'rafamadriz/friendly-snippets' " Optional
|
||||||
|
|
||||||
Plug 'VonHeikemen/lsp-zero.nvim', {'branch': 'v1.x'}
|
" Plug 'VonHeikemen/lsp-zero.nvim', {'branch': 'v1.x'}
|
||||||
"}
|
"}
|
||||||
|
|
||||||
endif
|
endif
|
||||||
@@ -357,7 +357,7 @@ endif
|
|||||||
" }
|
" }
|
||||||
|
|
||||||
" neoclide/coc.nvim {
|
" neoclide/coc.nvim {
|
||||||
if g:vim_type == 'vim' && 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-tsserver: javascript
|
||||||
" coc-pyright: python
|
" coc-pyright: python
|
||||||
|
|||||||
+1
-1
@@ -178,11 +178,11 @@ end
|
|||||||
|
|
||||||
if vim_version_minor >= 5 then
|
if vim_version_minor >= 5 then
|
||||||
transparent_config()
|
transparent_config()
|
||||||
lsp_zero_config()
|
|
||||||
lualine_config()
|
lualine_config()
|
||||||
end
|
end
|
||||||
if vim_version_minor >= 7 then
|
if vim_version_minor >= 7 then
|
||||||
nvim_treesitter_config()
|
nvim_treesitter_config()
|
||||||
|
-- lsp_zero_config()
|
||||||
end
|
end
|
||||||
if vim_version_minor >= 8 then
|
if vim_version_minor >= 8 then
|
||||||
nvim_tree_config()
|
nvim_tree_config()
|
||||||
|
|||||||
Reference in New Issue
Block a user