diff --git a/README.md b/README.md index 488617e..5d7e62b 100644 --- a/README.md +++ b/README.md @@ -34,17 +34,13 @@ Using [lazy.nvim](https://github.com/folke/lazy.nvim) ```lua { 'topaxi/gh-actions.nvim', - cmd = 'GhActions', keys = { { 'gh', 'GhActions', desc = 'Open Github Actions' }, }, -- optional, you can also install and use `yq` instead. build = 'make', - dependencies = { 'nvim-lua/plenary.nvim', 'MunifTanjim/nui.nvim' }, + ---@type GhActionsConfig opts = {}, - config = function(_, opts) - require('gh-actions').setup(opts) - end, }, ``` diff --git a/lazy.lua b/lazy.lua new file mode 100644 index 0000000..c9e575b --- /dev/null +++ b/lazy.lua @@ -0,0 +1,11 @@ +return { + { 'nvim-lua/plenary.nvim', lazy = true }, + { 'MunifTanjim/nui.nvim', lazy = true }, + { + 'topaxi/gh-actions.nvim', + cmd = 'GhActions', + lazy = true, + dependencies = { 'nvim-lua/plenary.nvim', 'MunifTanjim/nui.nvim' }, + opts = {}, + }, +}