Skip to content

Latest commit

 

History

History
78 lines (70 loc) · 1.8 KB

README.md

File metadata and controls

78 lines (70 loc) · 1.8 KB

👽 lipoide.nvim

image

🚀 Installation

-- 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,
})

✨ Usage

colorscheme lipoide
vim.cmd("colorscheme lipoide")

🔗 Compatibility

nvim-cmp

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
    }
  },
})