Skip to content

Commit 22a9ce7

Browse files
committed
feat: Add instructions for lazy.nvim.
1 parent 20f5f75 commit 22a9ce7

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,26 @@ use({
7474
})
7575
```
7676

77+
- [lazy.nvim](https://github.com/folke/lazy.nvim)
78+
79+
```lua
80+
require('lazy').setup({
81+
spec = {
82+
-- some optional icons
83+
{ 'nvim-tree/nvim-web-devicons', lazy = true },
84+
{
85+
'glepnir/galaxyline.nvim',
86+
branch = 'main',
87+
-- your statusline
88+
config = function()
89+
require('my_statusline')
90+
end,
91+
},
92+
-- Other plugins
93+
},
94+
})
95+
```
96+
7797
## 🧭 Api
7898

7999
### Section Variables

0 commit comments

Comments
 (0)