aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/nvim-lsp-installer/notify.lua4
1 files changed, 2 insertions, 2 deletions
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