1
0
Fork 0

nvim: formatting, technically not necessary correction

This commit is contained in:
tastytea 2024-01-04 23:16:24 +01:00
parent c3f414a82b
commit c5203da97e
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
2 changed files with 3 additions and 3 deletions

View File

@ -91,10 +91,10 @@ if cmp and luasnip then
require('cmp_dictionary').setup({
dic = {
['gitcommit'] =
vim.fn.stdpath('config') .. '/resources/git.dict',
vim.fn.stdpath('config') .. '/resources/git.dict',
-- doesn't work, filetype is probably set too late
['NeogitCommitMessage'] =
vim.fn.stdpath('config') .. '/resources/git.dict',
vim.fn.stdpath('config') .. '/resources/git.dict',
}
})

View File

@ -161,7 +161,7 @@ function M.lsp_sig_status()
local label = require('lsp_signature').status_line().label
if label:len() > width then
label = label:sub(1, width) .. ''
label = label:sub(1, math.floor(width)) .. ''
end
return label