refactor(installer): use new async runner
This commit is contained in:
parent
9881da4db7
commit
c544a2f969
3 changed files with 16 additions and 12 deletions
|
|
@ -3,8 +3,9 @@ local log = require "gopher._utils.log"
|
|||
local utils = {}
|
||||
|
||||
---@param msg string
|
||||
---@param lvl number
|
||||
---@param lvl? number
|
||||
function utils.deferred_notify(msg, lvl)
|
||||
lvl = lvl or vim.log.levels.INFO
|
||||
vim.defer_fn(function()
|
||||
vim.notify(msg, lvl, {
|
||||
title = c.___plugin_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue