Skip to content

Commit

Permalink
fix(pack/tailwindcss): use icon when color is not available for cmp (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Subjective authored Jun 21, 2023
1 parent a2d5a45 commit 53cea57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/tailwindcss/tailwindcss.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ return {
opts.formatting.format = function(entry, item)
if item.kind == "Color" then
item = require("cmp-tailwind-colors").format(entry, item)
if item.kind == "Color" then return format_kinds(entry, item) end
return item
end
return format_kinds(entry, item)
Expand Down

0 comments on commit 53cea57

Please sign in to comment.