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()
|
require("nvim-ts-autotag").setup()
|
||||||
end
|
end
|
||||||
},
|
},
|
||||||
{
|
|
||||||
'lewis6991/gitsigns.nvim',
|
|
||||||
enabled = vim.fn.executable "git" == 1,
|
|
||||||
config = function()
|
|
||||||
require("gitsigns").setup()
|
|
||||||
end
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
'numToStr/Comment.nvim',
|
'numToStr/Comment.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
1
install
1
install
@ -118,7 +118,6 @@ cmd_nvim() {
|
|||||||
echo "sudo pacman -S npm ctags fzf glow; mkdir ~/.npm-global; npm config set prefix '~/.npm-global'"
|
echo "sudo pacman -S npm ctags fzf glow; mkdir ~/.npm-global; npm config set prefix '~/.npm-global'"
|
||||||
|
|
||||||
_link_files_in_sandbox ${TARGETS["nvim"]}
|
_link_files_in_sandbox ${TARGETS["nvim"]}
|
||||||
|
|
||||||
__install_from_sandbox
|
__install_from_sandbox
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user