diff options
author | dundargoc <gocdundar@gmail.com> | 2024-05-25 20:35:37 +0200 |
---|---|---|
committer | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2024-05-27 20:48:46 +0200 |
commit | 6e8a728e3dad747d0c46dc47a530b76e8997bc08 (patch) | |
tree | 694dfdf6f734aed15c4944f8b0e8733abde802e4 /runtime/lua/tohtml.lua | |
parent | f70af5c3cad098ee9c7f1956bc18991cbd515507 (diff) | |
download | rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.tar.gz rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.tar.bz2 rneovim-6e8a728e3dad747d0c46dc47a530b76e8997bc08.zip |
refactor: fix luals type warnings
Diffstat (limited to 'runtime/lua/tohtml.lua')
-rw-r--r-- | runtime/lua/tohtml.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/runtime/lua/tohtml.lua b/runtime/lua/tohtml.lua index 5e145950b7..120247ed4e 100644 --- a/runtime/lua/tohtml.lua +++ b/runtime/lua/tohtml.lua @@ -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 |