fix: removed use of deprecated vim.lsp.get_active_clients (#81)

This commit is contained in:
Caleb White 2024-07-24 18:48:05 -05:00 committed by GitHub
parent 08bd34bf0e
commit 194ec60048
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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