feat: add tailwindcss
This commit is contained in:
parent
cb64b79de9
commit
b3102f091f
5 changed files with 69 additions and 7 deletions
14
nvim/lua/plugins/cmp.lua
Normal file
14
nvim/lua/plugins/cmp.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
return {
|
||||
"hrsh7th/nvim-cmp",
|
||||
lazy = true,
|
||||
dependencies = {
|
||||
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||
},
|
||||
opts = function(_, opts)
|
||||
local format_kinds = opts.formatting.format
|
||||
opts.formatting.format = function(entry, item)
|
||||
format_kinds(entry, item)
|
||||
return require("tailwindcss-colorizer-cmp").formatter(entry, item)
|
||||
end
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue