onsails / lspkind.nvim

vscode-like pictograms for neovim lsp completion items
MIT License
1.51k stars 39 forks source link

Icons are not displaying #7

Closed ghost closed 3 years ago

ghost commented 3 years ago

There are no icons displaying when doing autocompletion (currently using nvim-compe). I don't know if my config is wrong, so here is a minimal config

-- Use and fetch plugins
require('packer').startup(function()
  use 'wbthomason/packer.nvim'

  use 'neovim/nvim-lspconfig'
  use 'hrsh7th/nvim-compe'

  use 'onsails/lspkind-nvim'
end)

-- Global options
vim.o.completeopt = 'menuone,noselect'

-- Compe settings
require'compe'.setup {
  enabled = true;
  autocomplete = true;
  debug = false;
  min_length = 1;
  preselect = 'enable';
  throttle_time = 80;
  source_timeout = 200;
  incomplete_delay = 400;
  max_abbr_width = 100;
  max_kind_width = 100;
  max_menu_width = 100;
  documentation = true;

  source = {
    path = true;
    buffer = true;
    calc = true;
    nvim_lsp = true;
    nvim_lua = true;
    vsnip = false;
  };
}

require('lspkind').init({})
ghost commented 3 years ago

Was using incorrect neovim package Fix by using provided appimage from neovim

goolzerg commented 2 years ago

which one image?