From d74c40a9af578606810fa7959c5cad57f5014e1d Mon Sep 17 00:00:00 2001 From: David Ibia Date: Mon, 29 Jul 2024 01:03:03 +0100 Subject: [PATCH] style(nvim-cmp.lua): improve code formatting by aligning comments and values for better readability --- lua/absolute/after/nvim-cmp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/absolute/after/nvim-cmp.lua b/lua/absolute/after/nvim-cmp.lua index f5b7e40..0456f8a 100644 --- a/lua/absolute/after/nvim-cmp.lua +++ b/lua/absolute/after/nvim-cmp.lua @@ -15,16 +15,16 @@ cmp.setup({ end, }, mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.complete(), -- show completion suggestions + [""] = cmp.mapping.complete(), -- show completion suggestions [""] = cmp.mapping.confirm({ select = true }), -- accept current selection }), -- sources for autocompletion sources = cmp.config.sources({ - { name = "otter" }, -- custom source for otter completion + { name = "otter" }, -- custom source for otter completion { name = "nvim_lsp" }, { name = "luasnip" }, -- snippets - { name = "buffer" }, -- text within current buffer - { name = "path" }, -- file system paths + { name = "buffer" }, -- text within current buffer + { name = "path" }, -- file system paths }), -- configure lspkind for vs-code like pictograms in completion menu formatting = {