diff options
| author | William Boman <william@redwill.se> | 2022-04-29 13:14:57 +0200 |
|---|---|---|
| committer | William Boman <william@redwill.se> | 2022-04-29 13:15:46 +0200 |
| commit | 48abdc9d32f56e038f4aca478cf6d5a1628b8286 (patch) | |
| tree | 0fbf2b70c0c0446cf058f8cb9789d4705b2c80c3 /lua/nvim-lsp-installer.lua | |
| parent | feat: add ensure_installed to setup table (#637) (diff) | |
| download | mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar.gz mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar.bz2 mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar.lz mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar.xz mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.tar.zst mason-48abdc9d32f56e038f4aca478cf6d5a1628b8286.zip | |
docs: more deprecations and update some outdated docs
Diffstat (limited to 'lua/nvim-lsp-installer.lua')
| -rw-r--r-- | lua/nvim-lsp-installer.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer.lua b/lua/nvim-lsp-installer.lua index ab566551..f41dbbf7 100644 --- a/lua/nvim-lsp-installer.lua +++ b/lua/nvim-lsp-installer.lua @@ -195,7 +195,6 @@ function M.install_by_filetype(filetype) end --- Queues a server to be installed. Will also open the status window. ---- Use the .on_server_ready(cb) function to register a handler to be executed when a server is ready to be set up. ---@param server_identifier string @The server to install. This can also include a requested version, for example "rust_analyzer@nightly". function M.install(server_identifier) local server_name, version = servers.parse_server_identifier(server_identifier) @@ -266,6 +265,7 @@ function M.uninstall_all(no_confirm) status_win().open() end +---@deprecated Setup servers directly via lspconfig instead. See https://github.com/williamboman/nvim-lsp-installer/discussions/636 ---@param cb fun(server: Server) @Callback to be executed whenever a server is ready to be set up. function M.on_server_ready(cb) dispatcher.register_server_ready_callback(cb) |
