From f9b36bf730fda5488be87b91fd03a6f7cbf64e73 Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Wed, 24 Apr 2024 03:34:52 +0300 Subject: refactor: full rewrite --- lua/cmake-explorer/notification.lua | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 lua/cmake-explorer/notification.lua (limited to 'lua/cmake-explorer/notification.lua') diff --git a/lua/cmake-explorer/notification.lua b/lua/cmake-explorer/notification.lua deleted file mode 100644 index 0029241..0000000 --- a/lua/cmake-explorer/notification.lua +++ /dev/null @@ -1,14 +0,0 @@ -local has_notify, notify = pcall(require, "notify") - -local Notification = {} - -function Notification.notify(msg, lvl, opts) - opts = opts or {} - if has_notify then - opts.hide_from_history = true - opts.title = "CMake Explorer" - return notify(msg, lvl, opts) - end -end - -return Notification -- cgit v1.2.3