feat(nvim): add octo
This commit is contained in:
parent
5c7902debc
commit
dbf1331abb
3 changed files with 15 additions and 14 deletions
1
home.nix
1
home.nix
|
@ -58,6 +58,7 @@ in {
|
|||
cargo
|
||||
unstable.deno
|
||||
rustc
|
||||
gh
|
||||
|
||||
(callPackage ./packages/org-stats {})
|
||||
(callPackage ./packages/python3.catppuccin-catwalk {})
|
||||
|
|
|
@ -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()
|
||||
} }
|
||||
})
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue