feat(nvim): gitsigns format

This commit is contained in:
TheK4n 2023-10-22 00:40:43 +03:00
parent 14a26288e1
commit ec580e6a3b
3 changed files with 16 additions and 8 deletions

View 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
}

View File

@ -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()

View File

@ -118,7 +118,6 @@ cmd_nvim() {
echo "sudo pacman -S npm ctags fzf glow; mkdir ~/.npm-global; npm config set prefix '~/.npm-global'"
_link_files_in_sandbox ${TARGETS["nvim"]}
__install_from_sandbox
}