fix: add the missing warn function

closed #9
This commit is contained in:
blueswooz 2023-06-28 20:36:59 +08:00
parent 3079ab9a53
commit 37de7fbc19

View File

@ -45,6 +45,10 @@ M.schema = {
},
}
local warn = function(s, ...)
vim.notify(s:format(...), vim.log.levels.WARN, { title = 'bookmarks' })
end
local function validate_config(config)
for k, v in pairs(config) do
local kschema = M.schema[k]