From c01bc7c4456c4b4ae4648891818349840b4403d6 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 15 Aug 2021 03:01:00 +0200 Subject: notify: always call vim.notify --- lua/nvim-lsp-installer/notify.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/nvim-lsp-installer/notify.lua') diff --git a/lua/nvim-lsp-installer/notify.lua b/lua/nvim-lsp-installer/notify.lua index 010ba31c..4569527e 100644 --- a/lua/nvim-lsp-installer/notify.lua +++ b/lua/nvim-lsp-installer/notify.lua @@ -1,10 +1,10 @@ local TITLE = "nvim-lsp-installer" return function(msg, level) - local has_notify_plugin, notify = pcall(require, "notify") + local has_notify_plugin = pcall(require, "notify") level = level or vim.log.levels.INFO if has_notify_plugin then - notify(msg, level, { + vim.notify(msg, level, { title = TITLE, }) else -- cgit v1.2.3-70-g09d2