Git blame virtual text
This commit is contained in:
parent
2f1c1aa3c1
commit
efd628cde1
1 changed files with 3 additions and 2 deletions
|
@ -1,11 +1,12 @@
|
|||
-- Adds git related signs to the gutter, as well as utilities for managing changes
|
||||
-- NOTE: gitsigns is already included in init.lua but contains only the base
|
||||
-- config. This will add also the recommended keymaps.
|
||||
-- See: https://github.com/lewis6991/gitsigns.nvim?tab=readme-ov-file#installation--usage
|
||||
|
||||
return {
|
||||
{
|
||||
'lewis6991/gitsigns.nvim',
|
||||
opts = {
|
||||
current_line_blame = true, -- Show blame for current line
|
||||
|
||||
on_attach = function(bufnr)
|
||||
local gitsigns = require 'gitsigns'
|
||||
|
||||
|
|
Loading…
Reference in a new issue