Skip to content

Commit

Permalink
fix: remove unnecessary message on gh.nvim startup
Browse files Browse the repository at this point in the history
The refresh timer is started automatically after `require('litee.gh').setup({...})`, which is called on neovim startup for most users. It seems unneccessary to bother the user with information about the refresh timer.
  • Loading branch information
lervag authored and ldelossa committed May 30, 2022
1 parent caed363 commit e58a9cd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/litee/gh/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ function M.start_refresh_timer(now)
if now then
M.refresh()
end
vim.schedule(function() vim.api.nvim_echo({{"[gh.nvim] started backround refresh with interval " .. 180000/1000/60 .. " minutes", "LTInfo"}}, false, {}) end)
M.refresh_timer:start(180000, 180000, function()
M.refresh()
end)
Expand Down

0 comments on commit e58a9cd

Please sign in to comment.