mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-24 13:31:04 +00:00
Fix gitsigns
This commit is contained in:
parent
590a588378
commit
c9fb1d91d3
1 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
require("gitsigns").setup({
|
return {
|
||||||
|
"lewis6991/gitsigns.nvim",
|
||||||
current_line_blame = false,
|
current_line_blame = false,
|
||||||
on_attach = function(bufnr)
|
on_attach = function(bufnr)
|
||||||
local gs = package.loaded.gitsigns
|
local gs = package.loaded.gitsigns
|
||||||
|
|
@ -12,4 +13,4 @@ require("gitsigns").setup({
|
||||||
-- Stage buffer
|
-- Stage buffer
|
||||||
vim.keymap.set("n", "<leader>ga", gs.stage_buffer, { buffer = bufnr })
|
vim.keymap.set("n", "<leader>ga", gs.stage_buffer, { buffer = bufnr })
|
||||||
end,
|
end,
|
||||||
})
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue