From 1ec9f80bdbd60a700e119c3f63df6a62186cbbb3 Mon Sep 17 00:00:00 2001 From: max397574 Date: Fri, 8 Oct 2021 15:36:15 +0200 Subject: [PATCH] fixed formatting --- lua/plugins/configs/cmp.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index ede4792..eab3bd2 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -44,7 +44,7 @@ cmp.setup { }, [""] = function(fallback) if cmp.visible() then - cmp.select_next_item() + cmp.select_next_item() elseif require("luasnip").expand_or_jumpable() then vim.fn.feedkeys(vim.api.nvim_replace_termcodes("luasnip-expand-or-jump", true, true, true), "") else @@ -52,9 +52,9 @@ cmp.setup { end end, [""] = function(fallback) - if cmp.visible() then - cmp.select_prev_item() - elseif require("luasnip").jumpable(-1) then + if cmp.visible() then + cmp.select_prev_item() + elseif require("luasnip").jumpable(-1) then vim.fn.feedkeys(vim.api.nvim_replace_termcodes("luasnip-jump-prev", true, true, true), "") else fallback()