aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/lspconfig.lua16
1 files changed, 1 insertions, 15 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua
index e5d924cc..fd4631d1 100644
--- a/plugin/lspconfig.lua
+++ b/plugin/lspconfig.lua
@@ -48,23 +48,9 @@ local get_clients_from_cmd_args = function(arg)
return result
end
-for group, hi in pairs {
- LspInfoBorder = { link = 'Label', default = true },
- LspInfoList = { link = 'Function', default = true },
- LspInfoTip = { link = 'Comment', default = true },
- LspInfoTitle = { link = 'Title', default = true },
- LspInfoFiletype = { link = 'Type', default = true },
-} do
- api.nvim_set_hl(0, group, hi)
-end
-
-- Called from plugin/lspconfig.vim because it requires knowing that the last
-- script in scriptnames to be executed is lspconfig.
-api.nvim_create_user_command('LspInfo', function()
- require 'lspconfig.ui.lspinfo'()
-end, {
- desc = 'Displays attached, active, and configured language servers',
-})
+api.nvim_create_user_command('LspInfo', ':che lspconfig', { desc = 'Deprecated alias to `:che lspconfig`' })
api.nvim_create_user_command('LspStart', function(info)
local server_name = string.len(info.args) > 0 and info.args or nil