From 1507861a34d328a736e7ed09a858b4f1367f8abd Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Thu, 1 May 2025 11:00:51 +0800 Subject: [PATCH] =?UTF-8?q?nvim=20gitsigns:=20=E8=AA=BF=E6=95=B4=E7=BF=92?= =?UTF-8?q?=E6=85=A3=E7=9A=84=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nvim/exact_lua/exact_plugins/exact_editor/gitsigns.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/gitsigns.lua b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/gitsigns.lua index adb4569..c303886 100644 --- a/dot_config/nvim/exact_lua/exact_plugins/exact_editor/gitsigns.lua +++ b/dot_config/nvim/exact_lua/exact_plugins/exact_editor/gitsigns.lua @@ -20,13 +20,13 @@ return { signcolumn = true, -- Toggle with `:Gitsigns toggle_signs` numhl = false, -- Toggle with `:Gitsigns toggle_numhl` linehl = false, -- Toggle with `:Gitsigns toggle_linehl` - word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff` + word_diff = true, -- Toggle with `:Gitsigns toggle_word_diff` watch_gitdir = { follow_files = true }, auto_attach = true, attach_to_untracked = false, - current_line_blame = false, -- Toggle with `:Gitsigns toggle_current_line_blame` + current_line_blame = true, -- Toggle with `:Gitsigns toggle_current_line_blame` current_line_blame_opts = { virt_text = true, virt_text_pos = 'eol', -- 'eol' | 'overlay' | 'right_align' @@ -35,7 +35,7 @@ return { virt_text_priority = 100, use_focus = true, }, - current_line_blame_formatter = ', - ', + current_line_blame_formatter = ' , - ', sign_priority = 6, update_debounce = 100, status_formatter = nil, -- Use default