No description
Find a file
Barrett Ruth 6c3e72cf33
Some checks are pending
luarocks / quality (push) Waiting to run
luarocks / publish (push) Blocked by required conditions
feat: add get_icon and get_icon_by_filetype API
Problem: plugins that don't use devicons have no way to get nonicons
glyphs for files. The only integration path is the devicons
monkey-patch via apply().

Solution: add get_icon(name, ext) and get_icon_by_filetype(ft) to
the public API in init.lua. Both use lazy require of the resolve
module and return nil on miss so callers decide fallback. Document
both functions in vimdoc and update the oil.nvim recipe.
2026-02-22 21:31:35 -05:00
.github feat(ci): add scheduled upstream mapping sync workflow (#9) 2026-02-18 13:25:39 -05:00
doc feat: add get_icon and get_icon_by_filetype API 2026-02-22 21:31:35 -05:00
lua/nonicons feat: add get_icon and get_icon_by_filetype API 2026-02-22 21:31:35 -05:00
plugin feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
.editorconfig feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
.gitignore feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
.luarc.json feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
.pre-commit-config.yaml feat: add project infrastructure and rewrite README 2026-02-17 20:07:16 -05:00
.prettierignore feat: add project infrastructure and rewrite README 2026-02-17 20:07:16 -05:00
.prettierrc feat: add project infrastructure and rewrite README 2026-02-17 20:07:16 -05:00
flake.lock docs(readme): replace lazy.nvim FAQ with recipes reference (#4) 2026-02-17 20:35:20 -05:00
flake.nix feat: add project infrastructure and rewrite README 2026-02-17 20:07:16 -05:00
LICENSE feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
nonicons.nvim-scm-1.rockspec feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
README.md doc: improve q&a format 2026-02-21 23:02:31 -05:00
selene.toml feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
stylua.toml feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00
vim.toml feat: initial nonicons.nvim rewrite 2026-02-17 19:34:13 -05:00

nonicons.nvim

Nonicons for Neovim

Image

Features

  • Replaces nvim-web-devicons glyphs with nonicons font icons
  • Any plugin using nvim-web-devicons works automatically

Requirements

Installation

Install with your package manager of choice or via luarocks:

luarocks install nonicons.nvim

Documentation

:help nonicons.nvim

FAQ

Q: How do I integrate with plugin X?

See :help nonicons-recipes.

Acknowledgements