This repository was archived by the owner on Aug 29, 2025. It is now read-only.
Please help to setup this in Lazyvim #23
-
I want to extend lazyvim cmp config, based on the example from the documentation below {
"hrsh7th/nvim-cmp",
dependencies = {
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
},
opts = function(_, opts)
-- original LazyVim kind icon formatter
local format_kinds = opts.formatting.format
opts.formatting.format = function(entry, item)
format_kinds(entry, item) -- add icons
return require("tailwindcss-colorizer-cmp").formatter(entry, item)
end
end,
} Sorry I'm a newbie and probably don't understand basic things, but in no combination to perform something like this with this plugin did not work for me. Please help |
Beta Was this translation helpful? Give feedback.
Answered by
SergoGansta777
Apr 30, 2024
Replies: 1 comment
-
Turns out I just had to change the order of the lines a bit and it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SergoGansta777
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turns out I just had to change the order of the lines a bit and it worked.