Closed wustho closed 3 weeks ago
Its disabled by default so enable it
M.ui = {
cmp = {
icons_left = true,
format_colors = {
tailwind = true,
},
},
Sorry @siduck forgot to mention, I already did
return {
base46 = {
theme = 'gruvchad',
-- theme = 'kanagawa',
-- theme = 'onedark',
-- theme = 'wombat',
transparency = false,
integrations = {
'cmp',
-- 'devicons',
'lsp',
'navic',
'treesitter',
'alpha',
'statusline',
'blankline',
'syntax',
'todo',
'vim-illuminate',
'defaults',
'git',
},
},
ui = {
cmp = {
-- lspkind_text = true,
-- style = 'atom', -- default/flat_light/flat_dark/atom/atom_colored
icons_left = true,
format_colors = {
tailwind = true,
},
},
tabufline = {
enabled = false,
},
statusline = {
enabled = false,
theme = 'vscode_colored',
},
},
colorify = {
enabled = true,
mode = 'virtual',
virt_text = ' ',
highlight = { hex = true, lspvars = true },
},
}
Ops, nevermind @siduck, I updated the wrong tailwind langserver. Updating tailwind lang server should fix this. Thanks man
all good!
Seems like caused by no hex code, but instead rgb(x, x, x), in current tailwindcss documentation. https://github.com/NvChad/ui/blob/04ed330c30b1a34641b638b4f94a6bb08f158c74/lua/nvchad/cmp/format.lua#L10