aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorRaphael <glepnir@neovim.pro>2022-12-01 20:18:16 +0800
committerGitHub <noreply@github.com>2022-12-01 20:18:16 +0800
commitcb64ead000d70716cd779ef0409ebc2ce4a464fd (patch)
tree39548753544815c31f9e07e0602c50d580cb9a39 /lua
parentfix: inspect UNISON_LSP_PORT in unison (#2277) (diff)
downloadnvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar.gz
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar.bz2
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar.lz
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar.xz
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.tar.zst
nvim-lspconfig-cb64ead000d70716cd779ef0409ebc2ce4a464fd.zip
fix: remove searched for message in lspinfo (#2274)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/ui/lspinfo.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/lspconfig/ui/lspinfo.lua b/lua/lspconfig/ui/lspinfo.lua
index 611d8006..37086610 100644
--- a/lua/lspconfig/ui/lspinfo.lua
+++ b/lua/lspconfig/ui/lspinfo.lua
@@ -70,13 +70,6 @@ local function make_config_info(config, bufnr)
else
config_info.root_dir = error_messages.root_dir_not_found
vim.list_extend(config_info.helptags, helptags[error_messages.root_dir_not_found])
- local root_dir_pattern = vim.tbl_get(config, 'document_config', 'docs', 'default_config', 'root_dir')
- if root_dir_pattern then
- config_info.root_dir = config_info.root_dir
- .. ' Searched for: '
- .. remove_newlines(vim.split(root_dir_pattern, '\n'))
- .. '.'
- end
end
config_info.autostart = (config.autostart and 'true') or 'false'