mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-20 01:29:08 +02:00
Refactor the init.lua file
This commit is contained in:
parent
6263cdb135
commit
649367e357
5 changed files with 228 additions and 223 deletions
19
lua/custom/plugins/gitsigns.lua
Normal file
19
lua/custom/plugins/gitsigns.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
-- Here is a more advanced example where we pass configuration
|
||||
-- options to `gitsigns.nvim`. This is equivalent to the following Lua:
|
||||
-- require('gitsigns').setup({ ... })
|
||||
--
|
||||
-- See `:help gitsigns` to understand what the configuration keys do
|
||||
{ -- 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 = '~' },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue