From af7622a1f47e7930b7461b2b55ce219308ed3014 Mon Sep 17 00:00:00 2001 From: William Boman Date: Sun, 20 Feb 2022 12:36:25 +0100 Subject: dispatcher: don't include [nvim-lsp-installer] in vim.notify calls --- lua/nvim-lsp-installer/dispatcher.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lua') diff --git a/lua/nvim-lsp-installer/dispatcher.lua b/lua/nvim-lsp-installer/dispatcher.lua index 762da3e3..c58efec7 100644 --- a/lua/nvim-lsp-installer/dispatcher.lua +++ b/lua/nvim-lsp-installer/dispatcher.lua @@ -1,5 +1,3 @@ -local notify = require "nvim-lsp-installer.notify" - local M = {} local registered_callbacks = {} @@ -9,7 +7,7 @@ M.dispatch_server_ready = function(server) for _, callback in pairs(registered_callbacks) do local ok, err = pcall(callback, server) if not ok then - notify(tostring(err), vim.log.levels.ERROR) + vim.notify(tostring(err), vim.log.levels.ERROR) end end end -- cgit v1.3.1