aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake-explorer/notification.lua
diff options
context:
space:
mode:
authorDaniil Rozanov <daniilrozzanov@gmail.com>2024-04-24 03:34:52 +0300
committerDaniil Rozanov <daniilrozzanov@gmail.com>2024-04-24 03:34:52 +0300
commitf9b36bf730fda5488be87b91fd03a6f7cbf64e73 (patch)
treed8a7da573111d40c0e51c9e9954a3bb1977dd39c /lua/cmake-explorer/notification.lua
parent672f0d32e322b79661b5d7959887adaa9e41ad98 (diff)
refactor: full rewrite
Diffstat (limited to 'lua/cmake-explorer/notification.lua')
-rw-r--r--lua/cmake-explorer/notification.lua14
1 files changed, 0 insertions, 14 deletions
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