diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 665898f..bfd419c 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -108,27 +108,4 @@ return { }) end, }, - { - "hrsh7th/nvim-cmp", - dependencies = { "hrsh7th/cmp-nvim-lsp", "L3MON4D3/LuaSnip" }, - config = function() - local cmp = require("cmp") - cmp.setup({ - snippet = { - expand = function(args) - require("luasnip").lsp_expand(args.body) - end, - }, - mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.select_next_item(), - [""] = cmp.mapping.select_prev_item(), - [""] = cmp.mapping.confirm({ select = true }), - }), - sources = cmp.config.sources({ - { name = "nvim_lsp" }, - { name = "buffer" }, - }), - }) - end, - }, }