Commit graph

5 commits

Author SHA1 Message Date
6c3e72cf33
feat: add get_icon and get_icon_by_filetype API
Some checks are pending
luarocks / quality (push) Waiting to run
luarocks / publish (push) Blocked by required conditions
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
Barrett Ruth
e6d3a78eb3
fix: ghostty install instructions (#8)
* fix: ghostty install isntructions

* fix(docs): lazy = false
2026-02-18 12:51:22 -05:00
Barrett Ruth
6b4f5cf150
feat(doc): fix phrasing (#5) 2026-02-17 20:46:28 -05:00
731cb89059
feat: add project infrastructure and rewrite README
Problem: nonicons.nvim lacks CI, pre-commit hooks, nix dev shell, issue
templates, and the README contains content that duplicates the vimdoc.

Solution: add quality/luarocks CI workflows, pre-commit config, nix
flake, prettier config, GitHub issue/discussion templates, and rewrite
the README to minimal style with all detailed content in vimdoc. Update
yamatsum/nonicons references to ya2s/nonicons.
2026-02-17 20:07:16 -05:00
04791cd41a
feat: initial nonicons.nvim rewrite
Problem: the original ya2s/nvim-nonicons fork diverged enough that
maintaining it as a fork was pointless. The set_icon() approach broke
with modern nvim-web-devicons, and the extensions directory coupled
integrations that belong in user config.

Solution: from-scratch rewrite with function wrapping + table mutation
override engine, vim.g.nonicons config pattern, vendored mapping with
integer codepoints, health check, vimdoc with recipes, and no built-in
plugin integrations.
2026-02-17 19:34:13 -05:00