aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:09 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:09 +0100
commitd87665b0c7e7d119aab82012b221da12a6842dc2 (patch)
tree0265042d7d989220c3e810243e9697cf7f6ac1ed
parent0598b9dcb6a88c538b145f294111a4de39ee815f (diff)
downloaddotfiles-d87665b0c7e7d119aab82012b221da12a6842dc2.tar.gz
dotfiles-d87665b0c7e7d119aab82012b221da12a6842dc2.tar.bz2
dotfiles-d87665b0c7e7d119aab82012b221da12a6842dc2.zip
chore: remove undocumented gitsigns internals and no-op highlights
Remove _threaded_diff and _refresh_staged_on_update (internal/undocumented options prefixed with _, may break on any update). Remove highlights block where all values were nil (just uses defaults, no-op).
-rw-r--r--home/.config/nvim/lua/custom/plugins/git.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/home/.config/nvim/lua/custom/plugins/git.lua b/home/.config/nvim/lua/custom/plugins/git.lua
index 5889b33..9e920e2 100644
--- a/home/.config/nvim/lua/custom/plugins/git.lua
+++ b/home/.config/nvim/lua/custom/plugins/git.lua
@@ -4,11 +4,6 @@ return {
event = "BufRead",
opts = {
disable_diagnostics = true,
- highlights = {
- current = nil,
- incoming = nil,
- ancestor = nil,
- },
default_mappings = {
next = "]x",
prev = "[x",
@@ -81,8 +76,6 @@ return {
changedelete = { show_count = true },
},
numhl = true,
- _threaded_diff = true,
- _refresh_staged_on_update = true,
on_attach = function(bufnr)
local gs = require("gitsigns")
local function map(mode, l, r, desc)