Open ahmetkca opened 7 months ago
Here is how I did it:
lua/custom/configs/tailwindcss-colorizer-cmp.lua
require("cmp").setup({
formatting = { format = require("tailwindcss-colorizer-cmp").formatter },
})
lua/custom/plugins.lua
{
"roobert/tailwindcss-colorizer-cmp.nvim",
lazy = false,
config = function()
require("tailwindcss-colorizer-cmp").setup({})
require "custom.configs.tailwindcss-colorizer-cmp"
end
}
I have some UI glitch tho:
the selected option in a select box contains "XX" characters for some reason 🤔
Thanks a lot. I am new to neovim and NvChad. I am still trying to adapt to code first configuration.
@tomaszferens found any way to remove the "XX" ?
I changed terminal , and it fixed the "XX" issue. foot -> wezterm
@tomaszferens
the selected option in a select box contains "XX" characters for some reason 🤔
i guess it is because of the current selection is having different highlight.
as i noticed every selection is having XX
but the plugin put the color over it as highlight.
now when we have the current one selected the selection highlight overrides it.
there should be a solution to ignore highlight for current selection if it is for tailwind but unsure how to get that.
Doesn't work for me :/ Do I need some language server enabled? Edit: Fixed! I installed tailwindcss-language-server with Mason and enabled it with lsp-config!
ution to ignore highlight for current selection if it is for tailwind but unsure how to get that.
Having the same issue, any solutions?
I don't know where to initialize the installed plugin with cmp?