1
0
Fork 0

nvim: shut up annoying warning about floats

This commit is contained in:
tastytea 2024-01-04 23:15:15 +01:00
parent d0a5e85dd6
commit c3f414a82b
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ if cmp and luasnip then
formatting = {
format = lspkind.cmp_format({
mode = "symbol_text",
maxwidth = vim.o.columns / 2,
maxwidth = math.floor(vim.o.columns / 2),
ellipsis_char = '',
menu = ({
buffer = "[Buffer]",