Closed mustafaergul closed 2 years ago
@MustafaErgul It may have been solved by #15 , so can you update it and try again?
@yamatsum Does the following would do the install job as usual plugins?
...
Plug 'yamatsum/nvim-nonicons'
...
I am not sure where to locate the installation step mentioned in the repo description;
use 'yamatsum/nvim-nonicons'
-- if use nvim-web-devicons
use {
'yamatsum/nvim-nonicons',
requires = {'kyazdani42/nvim-web-devicons'}
}
Does the following would do the install job as usual plugins?
Yes, you must install nvim-web-devicons too.
Plug 'kyazdani42/nvim-web-devicons'
I am not sure where to locate the installation step mentioned in the repo description
This is an example using packer
Additionally, I have already installed nvim-web-devicons too, here is my snipped config;
It seems like now the issue is only with folder icons rather than file icons. But they are somehow not colorful.
If you are using nvim-tree, try the following settings.
local icons = require "nvim-nonicons"
vim.g.nvim_tree_icons = {
default = icons.get("file"),
folder = {
default = icons.get("file-directory"),
open = icons.get("file-directory-outline"),
symlink = icons.get("file-directory"),
symlink_open = icons.get("file-directory-outline"),
empty = icons.get("file-directory-outline"),
empty_open = icons.get("file-directory-outline"),
arrow_open = icons.get("chevron-down"),
arrow_closed = icons.get("chevron-right")
}
}
Thanks for your suggestion, I will try this out. Since I have switched to nvim-dev-icons
I am not able to test this yet. However thanks for your time ❤️
@yamatsum I also hit this issue and your suggestion fixed the problem - thanks, this iconset looks great, nice to finally have icons which are a decent size! 🙏
I have installed https://github.com/yamatsum/nonicons/issues and chosen from iterm2 preferences already. Somehow icons don't appear on the nvim-tree plugin.
I am not using packer to download plugins, not sure if I should :/
:lua print(require('nvim-nonicons').get('light-bulb'))
also works as expected.Here are some screenshots;
Thanks.