Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: deprecate util.get_lsp_clients #3694

Merged
merged 1 commit into from
Apr 5, 2025
Merged

refactor: deprecate util.get_lsp_clients #3694

merged 1 commit into from
Apr 5, 2025

Conversation

justinmk
Copy link
Member

@justinmk justinmk commented Apr 5, 2025

No description provided.

@@ -264,12 +264,9 @@ function M.tbl_flatten(t)
return nvim_eleven and vim.iter(t):flatten(math.huge):totable() or vim.tbl_flatten(t)
end

function M.get_lsp_clients(filter)
--- @diagnostic disable-next-line:deprecated
return nvim_eleven and lsp.get_clients(filter) or lsp.get_active_clients(filter)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the nvim_eleven was misleading, since get_clients exists in 0.10

@justinmk justinmk merged commit 3dbc4a6 into master Apr 5, 2025
11 checks passed
@justinmk justinmk deleted the deprecate branch April 5, 2025 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant