clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

change gh.nvim with octo.nvim to navigate github

sspaeti 16b4bf0d aa54c309

+37 -12
+37 -12
nvim/lua/sspaeti/plugins/github.lua
··· 1 1 return { 2 - "ldelossa/gh.nvim", 3 - event = "VeryLazy", 4 - dependencies = { 5 - { 6 - "ldelossa/litee.nvim", 7 - config = function() 8 - require("litee.lib").setup() 9 - end, 2 + --work on a PR from GitHub within Neovim: Octo works better now than gh.nvim 3 + --{ 4 + --"ldelossa/gh.nvim", 5 + --event = "VeryLazy", 6 + --dependencies = { 7 + -- { 8 + -- "ldelossa/litee.nvim", 9 + -- config = function() 10 + -- require("litee.lib").setup() 11 + -- end, 12 + -- }, 13 + --}, 14 + --config = function() 15 + -- require("litee.gh").setup() 16 + --end, 17 + --}, 18 + { 19 + 'pwntester/octo.nvim', 20 + cmd = { 'Octo' }, -- only run when Octo is called (also to avoid seeing warning: `Cannot request projects v2, missing scope 'read:project'` all the time) 21 + 22 + requires = { 23 + 'nvim-lua/plenary.nvim', 24 + 'nvim-telescope/telescope.nvim', 25 + -- OR 'ibhagwan/fzf-lua', 26 + 'nvim-tree/nvim-web-devicons', 10 27 }, 11 - }, 12 - config = function() 13 - require("litee.gh").setup() 14 - end, 28 + config = function() 29 + require "octo".setup({ 30 + { 31 + --TODO: does not work... 32 + suppress_missing_scope = { 33 + projects_v2 = true, 34 + } 35 + } 36 + 37 + }) 38 + end 39 + } 15 40 }