From fd32c079c963afeb4f5451c4aa7a251f3473bd13 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Mon, 10 Jun 2024 15:36:36 +0200 Subject: [PATCH] reformat cmp sources --- lua/plugins/cmp.lua | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lua/plugins/cmp.lua b/lua/plugins/cmp.lua index 4d691b9..1dcea37 100644 --- a/lua/plugins/cmp.lua +++ b/lua/plugins/cmp.lua @@ -78,12 +78,15 @@ cmp.setup({ -- Set `select` to `false` to only confirm explicitly selected items. [''] = cmp.mapping.confirm({ select = false }), }), - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - { name = 'luasnip' }, - }, { - { name = 'buffer' }, - }) + sources = cmp.config.sources( + { + { name = 'nvim_lsp' }, + { name = 'luasnip' }, + }, + { + { name = 'buffer' }, + } + ) }) -- Set configuration for specific filetype.