diff options
Diffstat (limited to 'lua/alpha/lsp/init.lua')
| -rw-r--r-- | lua/alpha/lsp/init.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |