1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 06:39:25 +00:00

[neovim] Simplify plugins including

This commit is contained in:
2023-04-12 20:09:30 +02:00
parent 3bc880fdac
commit 8af359f74f
28 changed files with 51 additions and 210 deletions

View File

@ -1,9 +1,4 @@
local status_ok, gitsigns = pcall(require, "gitsigns")
if not status_ok then
return
end
gitsigns.setup({
require("gitsigns").setup({
signs = {
add = { hl = "GitSignsAdd", text = "", numhl = "GitSignsAddNr", linehl = "GitSignsAddLn" },
change = { hl = "GitSignsChange", text = "", numhl = "GitSignsChangeNr", linehl = "GitSignsChangeLn" },
@ -14,7 +9,6 @@ gitsigns.setup({
preview_config = {
border = "rounded",
},
on_attach = function(bufnr)
local gs = package.loaded.gitsigns