Skip to content

Commit

Permalink
Initial neogit configuration
Browse files Browse the repository at this point in the history
Hello

Initial neogit configuration
  • Loading branch information
elC0mpa committed Feb 15, 2024
1 parent e821ea9 commit 2620a19
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lazy-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
"bufdelete.nvim": { "branch": "master", "commit": "0b9c0f182b09c51170bb9f252f15de7695e4d507" },
"bufferline.nvim": { "branch": "main", "commit": "b15c6daf5a64426c69732b31a951f4e438cb6590" },
"coc.nvim": { "branch": "release", "commit": "7b9e1ef0a1399907c51d23b6080b94a5aba4a654" },
"diffview.nvim": { "branch": "main", "commit": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f" },
"gitsigns.nvim": { "branch": "main", "commit": "2c2463dbd82eddd7dbab881c3a62cfbfbe3c67ae" },
"gruvbox": { "branch": "master", "commit": "f1ecde848f0cdba877acb0c740320568252cc482" },
"indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" },
"lazy.nvim": { "branch": "main", "commit": "aedcd79811d491b60d0a6577a9c1701063c2a609" },
"leap.nvim": { "branch": "main", "commit": "d77682020ad1562c36c67b2d2e7003393e7a2edb" },
"lualine.nvim": { "branch": "master", "commit": "7d131a8d3ba5016229e8a1d08bf8782acea98852" },
"neogit": { "branch": "master", "commit": "1c0369a39587054ff473179c1c04e793fb3d6378" },
"noice.nvim": { "branch": "main", "commit": "bf67d70bd7265d075191e7812d8eb42b9791f737" },
"nui.nvim": { "branch": "main", "commit": "35da9ca1de0fc4dda96c2e214d93d363c145f418" },
"nvim-autopairs": { "branch": "master", "commit": "096d0baecc34f6c5d8a6dd25851e9d5ad338209b" },
Expand Down
7 changes: 7 additions & 0 deletions lua/plugins_config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@ return {
{
'morhetz/gruvbox',
config = function()
local hl_store = {
NeogitDiffAddHighlight = { bg = "#b8bb26", fg = "#282828" }
}
vim.cmd('colorscheme gruvbox')
vim.g.gruvbox_contrast_dark = "hard"
for group, hl in pairs(hl_store) do
hl.default = true
vim.api.nvim_set_hl(0, group, hl)
end
end
},
{
Expand Down
16 changes: 16 additions & 0 deletions lua/plugins_config/neogit.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
return {
"NeogitOrg/neogit",
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
"nvim-telescope/telescope.nvim", -- optional
},
opts = {
disable_signs = true,
graph_style = "unicode",
integrations = {
telescope = true,
diffview = true
}
},
}
2 changes: 1 addition & 1 deletion lua/plugins_config/nvim-ufo.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vim.o.foldcolumn = '1' -- '0' is not bad
vim.o.foldcolumn = '0' -- '0' is not bad
vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
vim.o.foldlevelstart = 99
vim.o.foldenable = true
Expand Down

0 comments on commit 2620a19

Please sign in to comment.