mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
add: update config
This commit is contained in:
parent
a2b9217202
commit
880a48e1a3
8 changed files with 128 additions and 85 deletions
|
@ -1,24 +1,24 @@
|
|||
return {
|
||||
-- {
|
||||
-- "NvChad/nvim-colorizer.lua",
|
||||
-- opts = {
|
||||
-- user_default_options = {
|
||||
-- tailwind = true,
|
||||
-- },
|
||||
-- },
|
||||
-- },
|
||||
-- {
|
||||
-- "hrsh7th/nvim-cmp",
|
||||
-- dependencies = {
|
||||
-- { "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||
-- },
|
||||
-- opts = function(_, opts)
|
||||
-- -- original 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,
|
||||
-- },
|
||||
{
|
||||
"NvChad/nvim-colorizer.lua",
|
||||
opts = {
|
||||
user_default_options = {
|
||||
tailwind = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
dependencies = {
|
||||
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||
},
|
||||
opts = function(_, opts)
|
||||
-- original 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,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue