aboutsummaryrefslogtreecommitdiffstats
path: root/lua/mason-core/notify.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/mason-core/notify.lua')
-rw-r--r--lua/mason-core/notify.lua11
1 files changed, 3 insertions, 8 deletions
diff --git a/lua/mason-core/notify.lua b/lua/mason-core/notify.lua
index b41c7e64..95408434 100644
--- a/lua/mason-core/notify.lua
+++ b/lua/mason-core/notify.lua
@@ -1,13 +1,8 @@
local TITLE = "mason.nvim"
return function(msg, level)
- local has_notify_plugin = pcall(require, "notify")
level = level or vim.log.levels.INFO
- if has_notify_plugin then
- vim.notify(msg, level, {
- title = TITLE,
- })
- else
- vim.notify(("[%s] %s"):format(TITLE, msg), level)
- end
+ vim.notify(msg, level, {
+ title = TITLE,
+ })
end