refactor(vim): make the completion menu wider
Due to starting to learn clojure, I've had java classes popping up in the completion menu. Because they are so long it needs to be wider so I can see then.
This commit is contained in:
parent
762d3d6bb2
commit
ed100f4824
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ cmp.setup({
|
|||
fields = { 'menu', 'abbr', 'kind' },
|
||||
format = function(entry, vim_item)
|
||||
-- Give the completion menu a consistent size to stop it jumping arround
|
||||
local width = 34
|
||||
local width = 40
|
||||
if #vim_item.abbr > width then
|
||||
vim_item.abbr = string.sub(vim_item.abbr, 1, width)
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue