feat(nvim): add octo

This commit is contained in:
winston 2023-02-10 09:02:50 +01:00
parent 5c7902debc
commit dbf1331abb
Signed by: winston
GPG key ID: 3786770EDBC2B481
3 changed files with 15 additions and 14 deletions

View file

@ -58,6 +58,7 @@ in {
cargo
unstable.deno
rustc
gh
(callPackage ./packages/org-stats {})
(callPackage ./packages/python3.catppuccin-catwalk {})

View file

@ -1,5 +1,7 @@
local present, telescope = pcall(require, "telescope")
if not present then return end
if not present then
return
end
pcall(telescope.load_extension, "fzf")
pcall(telescope.load_extension, "asynctasks")
@ -9,7 +11,7 @@ pcall(telescope.load_extension, "project")
telescope.setup({
defaults = {
selection_caret = "",
borderchars = { '', '', '', '', '', '', '', '' },
borderchars = { "", "", "", "", "", "", "", "" },
},
extensions = {
fzf = {
@ -20,14 +22,3 @@ telescope.setup({
},
},
})
local ep_present, easypick = pcall(require, "easypick")
if not ep_present then return end
easypick.setup({
pickers = { {
name = "chezmoi",
command = [[chezmoi managed -ifiles -pabsolute -xencrypted]],
previewer = easypick.previewers.default()
} }
})

View file

@ -84,10 +84,19 @@ local plugins = {
"GustavoKatel/telescope-asynctasks.nvim",
"nvim-telescope/telescope-file-browser.nvim",
"nvim-telescope/telescope-project.nvim",
"axkirillov/easypick.nvim",
},
},
{
"pwntester/octo.nvim",
requires = {
"nvim-lua/plenary.nvim",
"nvim-telescope/telescope.nvim",
"kyazdani42/nvim-web-devicons",
},
opts = {},
},
-- nvimtree
"nvim-tree/nvim-web-devicons",
"nvim-tree/nvim-tree.lua",