aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/notify.lua
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2022-07-06 19:41:43 +0200
committerWilliam Boman <william@redwill.se>2022-07-07 00:39:59 +0200
commit5f634e0c37e723fc0c33e06b4fd5c2180178db40 (patch)
treefa4f09363adefa8259e23e4d1ea036db628b1243 /lua/nvim-lsp-installer/notify.lua
parentfeat(health): use stderr for java version, also check for JAVA_HOME (#765) (diff)
downloadmason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.gz
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.bz2
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.lz
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.xz
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.tar.zst
mason-5f634e0c37e723fc0c33e06b4fd5c2180178db40.zip
mason.nvim
Diffstat (limited to 'lua/nvim-lsp-installer/notify.lua')
-rw-r--r--lua/nvim-lsp-installer/notify.lua13
1 files changed, 0 insertions, 13 deletions
diff --git a/lua/nvim-lsp-installer/notify.lua b/lua/nvim-lsp-installer/notify.lua
deleted file mode 100644
index 4569527e..00000000
--- a/lua/nvim-lsp-installer/notify.lua
+++ /dev/null
@@ -1,13 +0,0 @@
-local TITLE = "nvim-lsp-installer"
-
-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
-end