From 22a9ce7df4b020e9746f05a2acd236ffb68e9e9a Mon Sep 17 00:00:00 2001 From: Guennadi Maximov C Date: Sat, 6 Jul 2024 02:16:04 -0600 Subject: [PATCH 1/2] feat: Add instructions for `lazy.nvim`. --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 936b312..91e7b9f 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,26 @@ use({ }) ``` +- [lazy.nvim](https://github.com/folke/lazy.nvim) + +```lua +require('lazy').setup({ + spec = { + -- some optional icons + { 'nvim-tree/nvim-web-devicons', lazy = true }, + { + 'glepnir/galaxyline.nvim', + branch = 'main', + -- your statusline + config = function() + require('my_statusline') + end, + }, + -- Other plugins + }, +}) +``` + ## 🧭 Api ### Section Variables From 3693c9d2ecaf901b7ece573c1c65466d37244e2e Mon Sep 17 00:00:00 2001 From: Guennadi Maximov C Date: Sat, 6 Jul 2024 02:20:24 -0600 Subject: [PATCH 2/2] fix: Add missing comment in install instruction --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 91e7b9f..47b06cd 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ require('lazy').setup({ }, -- Other plugins }, + -- Other options for `lazy` }) ```