From a31bc21def7967e81239c01c6e8b32906813f634 Mon Sep 17 00:00:00 2001 From: Barrett Ruth <62671086+barrettruth@users.noreply.github.com> Date: Tue, 17 Feb 2026 20:35:20 -0500 Subject: [PATCH] docs(readme): replace lazy.nvim FAQ with recipes reference (#4) * docs(readme): replace lazy.nvim FAQ with recipes reference Problem: the FAQ inlined a lazy.nvim snippet that duplicates vimdoc content and doesn't cover other plugin integrations. Solution: replace with a generic "How do I integrate with plugin ?" entry pointing to :help nonicons-recipes. Also track flake.lock. * fix(ci): format --- README.md | 12 ++++-------- flake.lock | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 8 deletions(-) create mode 100644 flake.lock diff --git a/README.md b/README.md index 140215b..5362ff8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ ## Features -- Replaces [nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) glyphs with nonicons font icons +- Replaces [nvim-web-devicons](https://github.com/nvim-tree/nvim-web-devicons) + glyphs with nonicons font icons - Any plugin using nvim-web-devicons works automatically ## Requirements @@ -31,14 +32,9 @@ luarocks install nonicons.nvim ## FAQ -**How do I install with lazy.nvim?** +**How do I integrate with plugin \?** -```lua -{ - 'barrettruth/nonicons.nvim', - dependencies = { 'nvim-tree/nvim-web-devicons' }, -} -``` +See `:help nonicons-recipes`. ## Acknowledgements diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..0cd96fb --- /dev/null +++ b/flake.lock @@ -0,0 +1,43 @@ +{ + "nodes": { + "nixpkgs": { + "locked": { + "lastModified": 1771177547, + "narHash": "sha256-trTtk3WTOHz7hSw89xIIvahkgoFJYQ0G43IlqprFoMA=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "ac055f38c798b0d87695240c7b761b82fc7e5bc2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "nixpkgs": "nixpkgs", + "systems": "systems" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +}