mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-27 11:18:53 +02:00
add: update config
This commit is contained in:
parent
93e5e8860f
commit
b319a12e99
7 changed files with 154 additions and 115 deletions
18
lua/custom/plugins/juliana.lua
Normal file
18
lua/custom/plugins/juliana.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
return {
|
||||
-- "pojokcodeid/nvim-juliana",
|
||||
-- lazy = false,
|
||||
-- priority = 1000,
|
||||
-- opts = {},
|
||||
-- config = function()
|
||||
-- vim.api.nvim_create_autocmd("ColorScheme", {
|
||||
-- pattern = "*",
|
||||
-- callback = function()
|
||||
-- -- get colors
|
||||
-- local colors = require("nvim-juliana").colors()
|
||||
-- -- custom hilights
|
||||
-- local hi = vim.api.nvim_set_hl
|
||||
-- hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||
-- end,
|
||||
-- })
|
||||
-- end,
|
||||
}
|
|
@ -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