From 1356dd1d91c7dda907b9f539bd8231c5260615b3 Mon Sep 17 00:00:00 2001 From: pml68 Date: Wed, 22 May 2024 23:52:05 +0200 Subject: feat: remove unnecessary LuaSnip and friendly-snippets plugins --- lua/pml68/configs/cmp.lua | 5 ----- lua/pml68/plugins.lua | 4 ---- 2 files changed, 9 deletions(-) (limited to 'lua/pml68') diff --git a/lua/pml68/configs/cmp.lua b/lua/pml68/configs/cmp.lua index 1f30321..e14edf1 100644 --- a/lua/pml68/configs/cmp.lua +++ b/lua/pml68/configs/cmp.lua @@ -24,9 +24,4 @@ cmp.setup({ [''] = cmp.mapping.select_prev_item({ behavior = 'select' }), [''] = cmp.mapping.select_next_item({ behavior = 'select' }), }), - snippet = { - expand = function(args) - require('luasnip').lsp_expand(args.body) - end, - }, }) diff --git a/lua/pml68/plugins.lua b/lua/pml68/plugins.lua index d4262a7..62abb7f 100644 --- a/lua/pml68/plugins.lua +++ b/lua/pml68/plugins.lua @@ -23,10 +23,6 @@ local plugins = { "hrsh7th/nvim-cmp", event = "InsertEnter", dependencies = { - { - "L3MON4D3/LuaSnip", - dependencies = "rafamadriz/friendly-snippets" - }, { "windwp/nvim-autopairs", opts = { -- cgit v1.2.3