feat(nvim): gitsigns format
This commit is contained in:
parent
14a26288e1
commit
ec580e6a3b
16
home/user/.config/nvim/lua/base/plugins/gitsigns.lua
Normal file
16
home/user/.config/nvim/lua/base/plugins/gitsigns.lua
Normal file
@ -0,0 +1,16 @@
|
||||
return {
|
||||
'lewis6991/gitsigns.nvim',
|
||||
enabled = vim.fn.executable "git" == 1,
|
||||
config = function()
|
||||
require("gitsigns").setup({
|
||||
signs = {
|
||||
add = { text = "+" },
|
||||
change = { text = "|" },
|
||||
delete = { text = "-" },
|
||||
topdelete = { text = "^" },
|
||||
changedelete = { text = "~" },
|
||||
untracked = { text = "0" },
|
||||
}
|
||||
})
|
||||
end
|
||||
}
|
||||
@ -17,13 +17,6 @@ return {
|
||||
require("nvim-ts-autotag").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
'lewis6991/gitsigns.nvim',
|
||||
enabled = vim.fn.executable "git" == 1,
|
||||
config = function()
|
||||
require("gitsigns").setup()
|
||||
end
|
||||
},
|
||||
{
|
||||
'numToStr/Comment.nvim',
|
||||
config = function()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user