soulis-1256 / eagle.nvim

Show diagnostics and lsp info inside a custom window, following the mouse position
Apache License 2.0
232 stars 5 forks source link

Replaced deprecated function call #20

Closed CheeseTurtle closed 2 months ago

CheeseTurtle commented 3 months ago

vim.lsp.get_active_clients() --> vim.lsp.get_clients(), as the former "will be removed in Nvim 0.12"

soulis-1256 commented 3 months ago

Hi, when I first included the function, I knew that there was a "better" one that was supposed to work the same way. However, at that time it didn't actually do what I needed it to. Once I verify that it's about to be deleted, I will test (again) the function you suggested and if everything works I will merge the request. Worst case scenario, I will find another way to implement this, maybe using some lower level api calls.