Skip to content

Commit

Permalink
fix: removed use of deprecated vim.lsp.get_active_clients (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw authored Jul 24, 2024
1 parent 08bd34b commit 194ec60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/colorizer/tailwind.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 194ec60

Please sign in to comment.