diff options
| author | Kyren223 <Kyren223@proton.me> | 2025-05-01 17:25:23 +0300 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2025-05-01 17:25:23 +0300 |
| commit | 05dd99ccafb11b7387da9f6751d5d6008100d35d (patch) | |
| tree | 21ecb7f127a0338da5de2f8cb3a5c3a95906485b /.config/nvim/lua/plugins/octo.lua | |
| parent | fa73efd6ab83c9ba1434e8e8a0e297315dd679b4 (diff) | |
Fixed octo.nvim to work with snacks
Diffstat (limited to '.config/nvim/lua/plugins/octo.lua')
| -rw-r--r-- | .config/nvim/lua/plugins/octo.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugins/octo.lua b/.config/nvim/lua/plugins/octo.lua index 02c247e..96120af 100644 --- a/.config/nvim/lua/plugins/octo.lua +++ b/.config/nvim/lua/plugins/octo.lua @@ -1,7 +1,11 @@ return { 'pwntester/octo.nvim', cmd = 'Octo', - dependencies = { 'nvim-telescope/telescope.nvim' }, + dependencies = { + 'nvim-lua/plenary.nvim', + 'folke/snacks.nvim', + 'nvim-tree/nvim-web-devicons', + }, keys = { { '<leader>gi', '<cmd>Octo issue search<cr>', desc = '[G]ithub [I]ssues (local)' }, { '<leader>pr', '<cmd>Octo pr search<cr>', desc = 'Github [PR]s (local)' }, @@ -9,7 +13,10 @@ return { { '<leader>pR', '<cmd>Octo search is:pr author:@me<cr>', desc = 'Github [PR]s (global)' }, }, config = function() - require('octo').setup({ suppress_missing_scope = { projects_v2 = true } }) + require('octo').setup({ + suppress_missing_scope = { projects_v2 = true }, + picker = 'snacks', + }) vim.treesitter.language.register('markdown', 'octo') vim.api.nvim_create_autocmd('FileType', { |
