fix: modify nvim-cmp

This commit is contained in:
2022-09-28 11:47:03 +08:00
parent 322da92402
commit 7a1c3989d1
7 changed files with 135 additions and 179 deletions
+12 -3
View File
@@ -60,8 +60,18 @@ return require("packer").startup(function(use)
-- Debugging
use { "mfussenegger/nvim-dap", opt = true }
-- Autocomplete
use { "hrsh7th/nvim-compe", opt = true }
-- nvim-cmp
use 'hrsh7th/cmp-nvim-lsp' -- { name = nvim_lsp }
use 'hrsh7th/cmp-buffer' -- { name = 'buffer' },
use 'hrsh7th/cmp-path' -- { name = 'path' }
use 'hrsh7th/cmp-cmdline' -- { name = 'cmdline' }
use 'hrsh7th/nvim-cmp'
-- vsnip
use 'hrsh7th/cmp-vsnip' -- { name = 'vsnip' }
use 'hrsh7th/vim-vsnip'
use 'rafamadriz/friendly-snippets'
-- lspkind
use 'onsails/lspkind-nvim'
-- Treesitter
use { "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }
@@ -155,7 +165,6 @@ return require("packer").startup(function(use)
require_plugin("telescope.nvim")
require_plugin('telescope-project.nvim')
require_plugin("nvim-dap")
require_plugin("nvim-compe")
require_plugin("nvim-ts-autotag")
require_plugin('vim-matchup')
require_plugin("nvim-tree.lua")