diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2025-03-26 12:13:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-26 12:13:08 -0700 |
| commit | 401e50fae626c4707af12114b5ddb7bb9f4236a4 (patch) | |
| tree | 5a8aafda5664f3283d93d6f8a2ded3a5c292ab2d /plugin | |
| parent | docs: update configs.md (diff) | |
| download | nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar.gz nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar.bz2 nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar.lz nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar.xz nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.tar.zst nvim-lspconfig-401e50fae626c4707af12114b5ddb7bb9f4236a4.zip | |
feat: alias :LspInfo to `:checkhealth vim.lsp` #3663
Problem:
`:checkhealth lspconfig` has no benefits vs `:checkhealth vim.lsp`.
Solution:
- on Nvim 0.11+, `:LspInfo` is an alias to `:checkhealth vim.lsp`
instead of `:checkhealth lspconfig`.
- `lua/lspconfig/health.lua` will be removed in a few months.
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 92a8208b..47ba1731 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -65,7 +65,7 @@ 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', ':che lspconfig', { desc = 'Deprecated alias to `:che lspconfig`' }) +api.nvim_create_user_command('LspInfo', ':checkhealth vim.lsp', { desc = 'Alias to `:checkhealth vim.lsp`' }) api.nvim_create_user_command('LspStart', function(info) local server_name = string.len(info.args) > 0 and info.args or nil |
