feat(notify): switch all print/nvim_*write statements to utils.notify

This commit is contained in:
kiyan
2022-07-18 14:04:48 +02:00
parent 21fadc1f38
commit 18447132fc
9 changed files with 23 additions and 25 deletions

View File

@@ -31,6 +31,7 @@ M.notify = {}
M.notify.warn = notify_level(vim.log.levels.WARN)
M.notify.error = notify_level(vim.log.levels.ERROR)
M.notify.info = notify_level(vim.log.levels.INFO)
M.notify.debug = notify_level(vim.log.levels.DEBUG)
function M.str_find(haystack, needle)
return vim.fn.stridx(haystack, needle) ~= -1