mirror of
https://github.com/norcalli/nvim-colorizer.lua.git
synced 2026-09-10 07:06:14 -04:00
fix: removed use of deprecated vim.lsp.get_active_clients (#81)
This commit is contained in:
parent
08bd34bf0e
commit
194ec60048
|
|
@ -115,7 +115,7 @@ function tailwind.setup_lsp_colors(buf, options, options_local, add_highlight)
|
|||
TAILWIND[buf].CLIENT = nil
|
||||
|
||||
local ok, tailwind_client = pcall(function()
|
||||
return vim.lsp.get_active_clients { bufnr = buf, name = "tailwindcss" }
|
||||
return vim.lsp.get_clients { bufnr = buf, name = "tailwindcss" }
|
||||
end)
|
||||
if not ok then
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue