No description
Problem: lua-language-server reports two diagnostics in override.lua: char() returns string? but resolve() annotates its return as string, and fallback_icon is typed as string but assigned a string? value. Solution: add fallback values so both assignments satisfy the string type — resolve() falls back to fallback_icon, and fallback_icon falls back to an empty string. |
||
|---|---|---|
| .github | ||
| doc | ||
| lua/nonicons | ||
| plugin | ||
| .editorconfig | ||
| .gitignore | ||
| .luarc.json | ||
| .pre-commit-config.yaml | ||
| .prettierignore | ||
| .prettierrc | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE | ||
| nonicons.nvim-scm-1.rockspec | ||
| README.md | ||
| selene.toml | ||
| stylua.toml | ||
| vim.toml | ||
nonicons.nvim
Nonicons for Neovim
Features
- Replaces nvim-web-devicons glyphs with nonicons font icons
- Any plugin using nvim-web-devicons works automatically
Requirements
- nvim-web-devicons
- nonicons font installed
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
- ya2s/nonicons — icon font
- ya2s/nvim-nonicons — original plugin