update and remove lsp inlay deprecated plugin
This commit is contained in:
parent
030882309d
commit
7fdfc21a4d
6 changed files with 23 additions and 121 deletions
|
@ -1,6 +1,6 @@
|
|||
local function lsp_clients()
|
||||
local clients = {}
|
||||
for _, client in pairs(vim.lsp.buf_get_clients(0)) do
|
||||
for _, client in pairs(vim.lsp.get_clients()) do
|
||||
clients[#clients + 1] = client.name
|
||||
end
|
||||
table.sort(clients)
|
||||
|
@ -9,7 +9,7 @@ end
|
|||
|
||||
local function langs()
|
||||
local l = {}
|
||||
for _, client in pairs(vim.lsp.buf_get_clients(0)) do
|
||||
for _, client in pairs(vim.lsp.get_clients()) do
|
||||
local out = nil
|
||||
if client.name == "pyright" then
|
||||
out = vim.fn.system({ "python", "-V" })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue