diff options
| author | Raphael <glepnir@neovim.pro> | 2022-08-24 07:58:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-24 07:58:50 +0800 |
| commit | b004cc6e586fd623d331eb78e7f258547d2225c3 (patch) | |
| tree | c00c56d169a2df4e998ec727fce7fabd9be0fecf | |
| parent | docs: update server_configurations.md (diff) | |
| download | nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar.gz nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar.bz2 nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar.lz nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar.xz nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.tar.zst nvim-lspconfig-b004cc6e586fd623d331eb78e7f258547d2225c3.zip | |
fix: add vim.deprecate in old function (#2080)
* fix: add vim.deprecrate in old function
* fix: typo
| -rw-r--r-- | lua/lspconfig.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/lspconfig.lua b/lua/lspconfig.lua index 1178202e..59e91ac8 100644 --- a/lua/lspconfig.lua +++ b/lua/lspconfig.lua @@ -4,6 +4,16 @@ local M = { util = require 'lspconfig.util', } +function M.available_servers() + vim.deprecate( + 'lspconfig.available_servers', + 'lspconfig.util.available_servers', + '0.1.4', + 'lspconfig' + ) + return M.util.available_servers() +end + local mt = {} function mt:__index(k) if configs[k] == nil then |
