2024-02-26 19:46:46 +00:00
|
|
|
-- Here is a more advanced example where we pass configuration
|
2024-03-18 17:50:47 +00:00
|
|
|
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
|
2024-02-26 19:46:46 +00:00
|
|
|
-- require('gitsigns').setup({ ... })
|
|
|
|
--
|
|
|
|
-- See `:help gitsigns` to understand what the configuration keys do
|
|
|
|
return {
|
|
|
|
{ -- Adds git related signs to the gutter, as well as utilities for managing changes
|
|
|
|
'lewis6991/gitsigns.nvim',
|
|
|
|
opts = {
|
|
|
|
signs = {
|
|
|
|
add = { text = '+' },
|
|
|
|
change = { text = '~' },
|
|
|
|
delete = { text = '_' },
|
|
|
|
topdelete = { text = '‾' },
|
|
|
|
changedelete = { text = '~' },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
-- vim: ts=2 sts=2 sw=2 et
|