diff options
| author | William Boman <william@redwill.se> | 2021-08-15 03:01:00 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2021-08-15 03:01:00 +0200 |
| commit | c01bc7c4456c4b4ae4648891818349840b4403d6 (patch) | |
| tree | 2ce2b9a1d77fa974f2fc933fe5e4e7bf169fab11 /lua/nvim-lsp-installer/notify.lua | |
| parent | fs: assert unsafe operations are run on safe paths only (diff) | |
| download | mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar.gz mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar.bz2 mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar.lz mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar.xz mason-c01bc7c4456c4b4ae4648891818349840b4403d6.tar.zst mason-c01bc7c4456c4b4ae4648891818349840b4403d6.zip | |
notify: always call vim.notify
Diffstat (limited to 'lua/nvim-lsp-installer/notify.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/notify.lua | 4 |
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 |
