mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor: fix luals type warnings
This commit is contained in:
@@ -65,9 +65,7 @@ local function notify(msg)
|
||||
if #notifications == 0 then
|
||||
vim.schedule(function()
|
||||
if #notifications > 1 then
|
||||
vim.notify(
|
||||
('TOhtml: %s (+ %d more warnings)'):format(notifications[1], tostring(#notifications - 1))
|
||||
)
|
||||
vim.notify(('TOhtml: %s (+ %d more warnings)'):format(notifications[1], #notifications - 1))
|
||||
elseif #notifications == 1 then
|
||||
vim.notify('TOhtml: ' .. notifications[1])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user