feat: add git diff checker
This commit is contained in:
parent
e10426f66b
commit
c10bb1bafb
9
init.lua
9
init.lua
|
|
@ -657,6 +657,15 @@ require('lazy').setup({
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
-- Git Diff View
|
||||||
|
{
|
||||||
|
'tpope/vim-fugitive',
|
||||||
|
config = function()
|
||||||
|
vim.keymap.set('n', '<leader>gd', ':Gdiff<CR>', { desc = 'Git diff' })
|
||||||
|
vim.keymap.set('n', '<leader>gs', ':Git<CR>', { desc = 'Git status' })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
{ -- Autoformat
|
{ -- Autoformat
|
||||||
'stevearc/conform.nvim',
|
'stevearc/conform.nvim',
|
||||||
event = { 'BufWritePre' },
|
event = { 'BufWritePre' },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue