yamatsum / nvim-nonicons Goto Github PK
View Code? Open in Web Editor NEWIcon set using nonicons for neovim plugins and settings
Icon set using nonicons for neovim plugins and settings
Can you share your completion and statusline configuration? Some of the icons aren't there in mapping.lua
nvim --version
:
NVIM v0.6.0-dev+508-g6acebb8b5
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
I have the nonicons
font installed.
I also have the following config:
use {
'yamatsum/nvim-nonicons',
requires = {'kyazdani42/nvim-web-devicons'}
}
But the icons show up as the regular devicons
...
for example from Telescope
:
I do know that the font is working and such because I get the correct icon if I do:
print(require'nvim-nonicons'.get("vim"))
Setup: Mac, Iterm
Installed: nonicons.ttf
I have set the non-ascii font to nonicons, but things don't look quite right. As you can see in the picture, folder icons are missing, C/C++ header as well, the Alpha dashboard logo and icons don't display properly.
Icons like kotlin and pdf are commented out in the setup. Why?
Looks like this would need to be added to the font. Created an issued here for the font repo
Elixir files end in a .ex
or .exs
empty folder icon in nvim-tree
and empty folder icon when opened
And when you run exa at the command line, the items with the bug icon are folders
It's missing the following icons: https://github.com/nvim-tree/nvim-web-devicons/blob/master/lua/nvim-web-devicons/icons-default.lua#L1613-L1636
As per the installation instruction, it is fine to not install nvim-web-devicons
but then the plugin fails to load due to this line.
There is this option: override_nvim_web_devicons
but that makes sense if nvim-web-devicons
are installed. It should have no effect if the plugin is not installed in the first place.
Hi,
Would love to use this but it does not at this point seem to give the desired results.
I have the plugin loaded. Using the suggested example for lualine I get no icon for Normal mode and a weird icon for Insert.
Adding the suggested config for Telescope I get this icon for prompt_prefix = " " .. icons.get("telescope") .. " ",
I am using 'foot' terminal but have also tried kitty with the same result. I have tried switching fonts between Cousine and Noto Sans Mono, and tried nerd font versions as well.
The readme is also not clear.
Is there a choice between using web-dev-icons or not?
Is a nerd font a requirement or not?
Thanks for any help here. It would be nice to get this going!
Something went wrong, could you help me to install the plugin?
I'm using macOS
use {
'yamatsum/nvim-web-nonicons',
requires = {'kyazdani42/nvim-web-devicons'}
}
Hi, an issue has been created in lir.nvim, but I was hoping that it could be addressed on the nvim-nonicons side.
It seems that nvim-web-devicons.setup()
cannot be called more than once, so
Is it possible to use set_icon()
instead of setup()
? (see nvim-web-devicons code)
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.
This is a really nice looking icon set, but when I use it in iTerm2 most of my vim is not showing any icons because other addons rely on nerd fonts and the separate icon for non-ASCII
text and instead just show [?]
everywhere.
Is it even possible to get this very nice icon set working alongside nerd fonts font?
Could you please share the Galaxyline config from the screenshot? Love how minimal it is. Thanks for the cool icon set!
Hi, I use a NerdFont. Windows doesn't have a way to set a fallback font.
Is there anyway to use nonicons then?
Hi there, I follow all instructions for the plugin installation:
" Interface
Plug 'glepnir/dashboard-nvim'
Plug 'kyazdani42/nvim-web-devicons'
Plug 'yamatsum/nvim-nonicons'
NVIM v0.5.1
Build type: Release
LuaJIT 2.1.0-beta3
Kitty
font_family MonoLisa
symbol_map U+f101-U+f208 nonicons
local icons = require "nvim-nonicons"
icons.get("file")
and I can get the icons manually through:
:lua print(require('nvim-nonicons').get('light-bulb'))
I tried to install nonicons-git through pacman on AUR and it says that it didn't pass the verification step.
Seems something related to the sha.
Hi @yamatsum I wonder can you update the README usage
Currently, it showed
require('nvim-cursorline').setup {}
But it is supposed to be
require('nvim-nonicons').setup {}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.