From 7fa75bc4ad23c44687d5feb81d3368bd1524a81e Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Sun, 24 Sep 2023 12:59:46 +0200 Subject: updates --- lua/alpha/lsp/init.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/alpha/lsp/init.lua') diff --git a/lua/alpha/lsp/init.lua b/lua/alpha/lsp/init.lua index 0d4a85d..0d69f07 100644 --- a/lua/alpha/lsp/init.lua +++ b/lua/alpha/lsp/init.lua @@ -37,6 +37,9 @@ return { table.insert(servers, string.format("%s <%s>", server, options.enable)) end + -- TODO: create an auto command that on write of the configuration, calls again the setup and restart the server if it's up. + -- can get the client by name of the file + vim.api.nvim_create_user_command("AlphaLSP", function() vim.ui.select(servers, { prompt = "LSP Servers" }, function(server) if server == nil then -- cgit v1.2.3