๐Ÿ“ฆ tranzystorekk / cmp-minikind.nvim

Icons for your nvim-cmp completions

โ˜… 8 stars โ‘‚ 0 forks ๐Ÿ‘ 8 watching โš–๏ธ MIT License
luaneovim-pluginnvim-cmp
๐Ÿ“ฅ Clone https://github.com/tranzystorekk/cmp-minikind.nvim.git
HTTPS git clone https://github.com/tranzystorekk/cmp-minikind.nvim.git
SSH git clone git@github.com:tranzystorekk/cmp-minikind.nvim.git
CLI gh repo clone tranzystorekk/cmp-minikind.nvim
tranzystorekk tranzystorekk refactor: replace deprecated variant of vim.validate 935ee02 7 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ assets
๐Ÿ“ lua
๐Ÿ“„ .stylua.toml
๐Ÿ“„ LICENSE
๐Ÿ“„ README.md
๐Ÿ“„ README.md

cmp-minikind

Demo screenshot

About

Add icons to your nvim-cmp LSP completions!

Inspiration taken from lspkind.nvim

Dependencies

Use :checkhealth cmp-minikind to verify these are satisfied:

Installation

Make sure mini.icons is enabled in your config.

Using lazy.nvim

{
  "hrsh7th/nvim-cmp",
  dependencies = {
    "tranzystorekk/cmp-minikind.nvim",
  },

  config = function()
    require("cmp"). setup {
      formatting = {
        format = require("cmp-minikind").cmp_format(),
      }
    }
  end
}

Default config

{
  -- Ordered components to be output as the displayed LSP kind:
  --
  -- "text": kind name, e.g. "Method"
  -- "symbol": kind icon supplied by mini.icons, e.g. "๎ชŒ"
  components = { "symbol", "text" },

  -- String to separate the components with
  separator = " ",
}