nvim: formatting, technically not necessary correction
This commit is contained in:
parent
c3f414a82b
commit
c5203da97e
|
@ -91,10 +91,10 @@ if cmp and luasnip then
|
||||||
require('cmp_dictionary').setup({
|
require('cmp_dictionary').setup({
|
||||||
dic = {
|
dic = {
|
||||||
['gitcommit'] =
|
['gitcommit'] =
|
||||||
vim.fn.stdpath('config') .. '/resources/git.dict',
|
vim.fn.stdpath('config') .. '/resources/git.dict',
|
||||||
-- doesn't work, filetype is probably set too late
|
-- doesn't work, filetype is probably set too late
|
||||||
['NeogitCommitMessage'] =
|
['NeogitCommitMessage'] =
|
||||||
vim.fn.stdpath('config') .. '/resources/git.dict',
|
vim.fn.stdpath('config') .. '/resources/git.dict',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -161,7 +161,7 @@ function M.lsp_sig_status()
|
||||||
|
|
||||||
local label = require('lsp_signature').status_line().label
|
local label = require('lsp_signature').status_line().label
|
||||||
if label:len() > width then
|
if label:len() > width then
|
||||||
label = label:sub(1, width) .. '…'
|
label = label:sub(1, math.floor(width)) .. '…'
|
||||||
end
|
end
|
||||||
|
|
||||||
return label
|
return label
|
||||||
|
|
Loading…
Reference in New Issue