From d94b454eb61a0d0a99f9939560506c2db24f3315 Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 30 Jan 2024 21:52:24 -0500 Subject: way too lazy to sort this out, adding kitchen sink --- after/plugin/cmp.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'after/plugin/cmp.lua') diff --git a/after/plugin/cmp.lua b/after/plugin/cmp.lua index 0e8de6b..7106aae 100644 --- a/after/plugin/cmp.lua +++ b/after/plugin/cmp.lua @@ -10,10 +10,6 @@ local has_words_before = function() [1]:sub(col, col):match("%s") == nil end --- insert '()' after completing a function -cmp.event:on('confirm_done', - require('nvim-autopairs.completion.cmp').on_confirm_done()) - local luasnip = require('luasnip') local neogen = require('neogen') require("luasnip.loaders.from_vscode").lazy_load() @@ -27,6 +23,7 @@ cmp.setup { sources = cmp.config.sources({ { name = 'nvim_lsp', keyword_length = 3 }, + { name = 'nvim_lua' }, { name = 'luasnip_choice' }, { name = 'async_path' }, { name = 'buffer', keyword_length = 3, max_item_count = 7 }, -- cgit v1.2.1