From bb6c9441af692daf9b967a15324f574f601d4b52 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 18 Aug 2021 20:35:02 +0200 Subject: add new on_server_ready() API (#56) --- lua/nvim-lsp-installer/server.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/nvim-lsp-installer/server.lua') diff --git a/lua/nvim-lsp-installer/server.lua b/lua/nvim-lsp-installer/server.lua index 8b72ce53..edc80253 100644 --- a/lua/nvim-lsp-installer/server.lua +++ b/lua/nvim-lsp-installer/server.lua @@ -1,4 +1,5 @@ local notify = require "nvim-lsp-installer.notify" +local dispatcher = require "nvim-lsp-installer.dispatcher" local fs = require "nvim-lsp-installer.fs" local path = require "nvim-lsp-installer.path" @@ -83,6 +84,7 @@ function M.Server:install() pcall(self.uninstall, self) else notify(("Successfully installed %s."):format(self.name)) + dispatcher.dispatch_server_ready(self) end end) end -- cgit v1.2.3-70-g09d2