Closed ripjackie closed 4 months ago
Thanks for the PR!
I'd prefer custom helper function, as this usage of vim.split()
is not supported on earlier (still supported) version of Neovim.
I'll hope to resolve this tomorrow.
I've added a new commit that pulls the refactor into a helper function, and I believe I have it in the correct section for when compat for nvim < 0.10 is dropped.
This should now be resolved on latest main
.
vim.lsp.util.trim_empty_lines
is considered deprecated with the release of nvim v0.10.0. Instances of this function have been replaced withvim.split(...)
withtrimempty = true
following the neovim repo.Module(s)
Completion
Description
With the release of Neovim v0.10.0,
vim.lsp.util.trim_empty_lines
was deprecated in favor of usingvim.split
with thetrimempty
flag set. I was getting deprecated popups while usingmini.completion
, so I put in this quick refactor.