Fix some lint in completsions.lua
This commit is contained in:
parent
00f87db692
commit
4f38790589
@ -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({})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user