git related plugins

This commit is contained in:
serxoz 2022-12-30 11:37:17 +01:00
parent b797e96ef4
commit a1761d34a8
2 changed files with 31 additions and 7 deletions

View File

@ -1,8 +1,10 @@
return require("packer").startup(function(use)
use("wbthomason/packer.nvim")
-- Simple plugins can be specified as strings
use("TimUntersberger/neogit")
-- Git related plugins
use 'tpope/vim-fugitive'
use 'tpope/vim-rhubarb'
use 'lewis6991/gitsigns.nvim'
-- TJ created lodash of neovim
use("nvim-lua/plenary.nvim")
@ -100,4 +102,16 @@ return require("packer").startup(function(use)
end
}
-- Gitsigns
-- See `:help gitsigns.txt`
require('gitsigns').setup {
signs = {
add = { text = '+' },
change = { text = '~' },
delete = { text = '_' },
topdelete = { text = '' },
changedelete = { text = '~' },
},
}
end)

View File

@ -110,6 +110,11 @@ _G.packer_plugins = {
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/cmp_luasnip",
url = "https://github.com/saadparwaiz1/cmp_luasnip"
},
["gitsigns.nvim"] = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/gitsigns.nvim",
url = "https://github.com/lewis6991/gitsigns.nvim"
},
gruvbox = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/gruvbox",
@ -140,11 +145,6 @@ _G.packer_plugins = {
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/lualine.nvim",
url = "https://github.com/nvim-lualine/lualine.nvim"
},
neogit = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/neogit",
url = "https://github.com/TimUntersberger/neogit"
},
["night-owl.vim"] = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/night-owl.vim",
@ -247,6 +247,16 @@ _G.packer_plugins = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/undotree",
url = "https://github.com/mbbill/undotree"
},
["vim-fugitive"] = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/vim-fugitive",
url = "https://github.com/tpope/vim-fugitive"
},
["vim-rhubarb"] = {
loaded = true,
path = "/home/sergio/.local/share/nvim/site/pack/packer/start/vim-rhubarb",
url = "https://github.com/tpope/vim-rhubarb"
}
}