-- lazy.nvim
{ 'FelipeIzolan/lipoide.nvim' }
-- or
{
'FelipeIzolan/lipoide.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter' },
config = function()
require("lipoide").setup({
transparent = false, -- boolean
transparent_column = false, -- boolean
comment_italic = false -- boolean
})
end
}
-- disable semantic-tokens (strongly recommended)
local on_attach = function (client, _)
...
client.server_capabilities.semanticTokensProvider = nil
end
local lsp = require("lspconfig")
lsp[$server].setup({
...,
on_attach = on_attach,
})
colorscheme lipoide
vim.cmd("colorscheme lipoide")
To enable the colorscheme in nvim-cmp, you need to set the highlight groups in the nvim-cmp setup.
local cmp = require 'cmp'
cmp.setup({
...,
formatting = {
...,
format = function(entry, item)
...
item.menu_hl_group = 'CmpMenu' -- <- menu highlight group
item.kind_hl_group = 'CmpKind' -- <- kind highlight group
return item
end,
},
window = {
completion = {
...,
winhighlight = 'Normal:CmpNormal', -- <- window highlight group
},
documentation = {
...,
winhighlight = 'Normal:CmpNormal', -- <- window highlight group
}
},
})