This commit is contained in:
Nachuan Tang
2023-02-07 23:03:44 -05:00
parent e1938c542f
commit 818efafc0e
2 changed files with 22 additions and 22 deletions
+21 -21
View File
@@ -79,12 +79,12 @@
" The bottom buffer display
Plug 'Donaldttt/vim-bufferline'
Plug 'ryanoasis/vim-devicons'
if executable('node')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
endif
if executable('fzf')
Plug 'antoinemadec/coc-fzf'
endif
endif
if executable('node')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
endif
if executable('fzf')
Plug 'antoinemadec/coc-fzf'
endif
" only work with nvim > 0.5
@@ -103,23 +103,23 @@
"{ lsp-zero
" LSP Support
Plug 'neovim/nvim-lspconfig' " Required
Plug 'williamboman/mason.nvim' " Optional
Plug 'williamboman/mason-lspconfig.nvim' " Optional
" Plug 'neovim/nvim-lspconfig' " Required
" Plug 'williamboman/mason.nvim' " Optional
" Plug 'williamboman/mason-lspconfig.nvim' " Optional
" Autocompletion Engine
Plug 'hrsh7th/nvim-cmp' " Required
Plug 'hrsh7th/cmp-nvim-lsp' " Required
Plug 'hrsh7th/cmp-buffer' " Optional
Plug 'hrsh7th/cmp-path' " Optional
Plug 'saadparwaiz1/cmp_luasnip' " Optional
Plug 'hrsh7th/cmp-nvim-lua' " Optional
" " Autocompletion Engine
" Plug 'hrsh7th/nvim-cmp' " Required
" Plug 'hrsh7th/cmp-nvim-lsp' " Required
" Plug 'hrsh7th/cmp-buffer' " Optional
" Plug 'hrsh7th/cmp-path' " Optional
" Plug 'saadparwaiz1/cmp_luasnip' " Optional
" Plug 'hrsh7th/cmp-nvim-lua' " Optional
" Snippets
Plug 'L3MON4D3/LuaSnip' " Required
Plug 'rafamadriz/friendly-snippets' " Optional
" " Snippets
" Plug 'L3MON4D3/LuaSnip' " Required
" Plug 'rafamadriz/friendly-snippets' " Optional
Plug 'VonHeikemen/lsp-zero.nvim', {'branch': 'v1.x'}
" Plug 'VonHeikemen/lsp-zero.nvim', {'branch': 'v1.x'}
"}
endif
@@ -357,7 +357,7 @@ endif
" }
" 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
" coc-tsserver: javascript
" coc-pyright: python
+1 -1
View File
@@ -178,11 +178,11 @@ end
if vim_version_minor >= 5 then
transparent_config()
lsp_zero_config()
lualine_config()
end
if vim_version_minor >= 7 then
nvim_treesitter_config()
-- lsp_zero_config()
end
if vim_version_minor >= 8 then
nvim_tree_config()