Skip to content

tranzystorekk/cmp-minikind.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 = " ",
}

About

Icons for your nvim-cmp completions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages