From 4f38790589b0c0a3952f813cdb8345636142b67d Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Wed, 13 Aug 2025 14:54:15 +0100 Subject: [PATCH] Fix some lint in completsions.lua --- lua/plugins/completions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 1d73553..e122bc0 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -173,7 +173,7 @@ return { }, formatting = { - format = function(entry, vim_item) + format = function(_, vim_item) -- Set a limit to how wide the completion menu can be local winwidth = vim.fn.winwidth(vim.api.nvim_get_current_win()) local menuwidth = math.min(winwidth / 2, 70) @@ -191,7 +191,7 @@ return { documentation = cmp.config.window.bordered(), }, - preselect = 'none', -- Don't preselect completions suggested by source + preselect = 'None', -- Don't preselect completions suggested by source }) require("cmp_git").setup({})