From 8a699d2b0ea41775f62d7cc110f6ffa8f25c435a Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 4 Jul 2022 08:52:35 +0200 Subject: [PATCH] refactor(nvim): simplify cmp config --- home-manager/neovim/nvim-cmp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/home-manager/neovim/nvim-cmp.lua b/home-manager/neovim/nvim-cmp.lua index e5ea9d1..201a5b6 100644 --- a/home-manager/neovim/nvim-cmp.lua +++ b/home-manager/neovim/nvim-cmp.lua @@ -55,14 +55,14 @@ cmp.setup({ -- `/` cmdline setup. cmp.setup.cmdline("/", { sources = cmp.config.sources( - { { name = "buffer" } } + { name = "buffer" } ) }) -- `:` cmdline setup. cmp.setup.cmdline(":", { sources = cmp.config.sources( - { { name = "path" } }, - { { name = "cmdline" } } + { name = "path" }, + { name = "cmdline" } ) })