Skip to content

Commit 731a33f

Browse files
committed
add lazy.nvim example
1 parent b3ddb3d commit 731a33f

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

readme.MD

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,21 @@
66

77
### Plug
88

9-
The plugin has standard structure so any method should work fine. I personally use [vim.plug](https://github.com/junegunn/vim-plug), so adding this to your configuration file will work:
9+
The plugin has standard structure so any method should work fine.
10+
11+
#### `[lazy.nvim](https://github.com/folke/lazy.nvim)`
12+
13+
```lua
14+
-- ~/.config/nvim/lua/plugins/gh-co.lua
15+
return {
16+
"comatory/gh-co.nvim",
17+
config = function()
18+
vim.keymap.set("n", "<leader>gg", ":GhCoWho<CR>", {})
19+
end
20+
}
21+
```
22+
23+
#### `[vim.plug](https://github.com/junegunn/vim-plug)`
1024

1125
`Plug 'comatory/gh-co.nvim'`
1226

0 commit comments

Comments
 (0)