Skip to content

Commit 0b9d4d0

Browse files
authored
Merge pull request #245 from aap01/docs/support-for-lazy.nvim
docs: added a paragraph for installing with `lazy.nvim`
2 parents 854d7c6 + 6c9dc38 commit 0b9d4d0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,29 @@ use({
7676
})
7777
```
7878

79+
Or with [lazy.nvim](https://github.com/folke/lazy.nvim):
80+
81+
Add this in your `init.lua` or `plugins.lua`
82+
83+
```lua
84+
-- Install without configuration
85+
{ 'projekt0n/github-nvim-theme', version = 'v0.0.7' }
86+
-- or branch = '0.0.x'
87+
88+
-- Or with configuration
89+
{
90+
'projekt0n/github-nvim-theme', version = 'v0.0.7',
91+
-- or branch = '0.0.x'
92+
config = function()
93+
require('github-theme').setup({
94+
-- ...
95+
})
96+
97+
vim.cmd('colorscheme github_dark')
98+
end
99+
}
100+
```
101+
79102
## Usage
80103

81104
Setting the colorscheme:

0 commit comments

Comments
 (0)