Icon set for neovim plugins and settings. Collection of configurations for nvim-web-devicons.
This repository is experimental and if there is demand, I'm going to create another plugin independent of nvim-web-devicons.
- A familiar UI with the icons used on github
- Not only file type, but also mode and completion icons are available
- Easy-to-read design even with a small font size (16 x 16)
- Nonicons >= 0.0.14
use 'yamatsum/nvim-nonicons'
-- if use nvim-web-devicons
use {
'yamatsum/nvim-nonicons',
requires = {'kyazdani42/nvim-web-devicons'}
}
require('nvim-nonicons').setup {}
Set "non-ascii" font to nonicons in your favorite terminal settings.
e.g.) iTerm
By using two fonts, you can use your favorite font as the main font.
If the terminal can only use one font, you need to use the nonicons patched font.
After installing the font, add the following line to your kitty.conf
file:
symbol_map U+f101-U+f25c nonicons
local icons = require "nvim-nonicons"
icons.get("file")
Suggested configuration
local icons = require("nvim-nonicons")
require("telescope").setup({
defaults = {
prompt_prefix = " " .. icons.get("telescope") .. " ",
selection_caret = " ❯ ",
entry_prefix = " ",
},
})
Suggested configuration
local nonicons_extention = require("nvim-nonicons.extentions.nvim-tree")
require("nvim-tree").setup({
renderer = {
icons = {
glyphs = nonicons_extention.glyphs,
},
},
})
Suggested configuration
local icons = require("nvim-nonicons")
local nonicons_extention = require("nvim-nonicons.extentions.lualine")
require("lualine").setup({
sections = {
lualine_a = { nonicons_extention.mode },
lualine_z = {
{
"branch",
icon = icons.get("git-branch"),
},
},
}
})
Suggested configuration
local nonicons_extention = require("nvim-nonicons.extentions.nvim-lsp-installer")
require("nvim-lsp-installer").setup({
ui = {
icons = nonicons_extention.icons,
},
})
local nonicons_extention = require("nvim-nonicons.extentions.nvim-notify")
require("notify").setup({
icons = nonicons_extention.icons,
})