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,
|
||||
},
|
||||
|
||||
-- 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
|
||||
'stevearc/conform.nvim',
|
||||
event = { 'BufWritePre' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue