fix nvim: menu for gitsigns 改為無論是否有修改,只要在行號區,一律使用gitsigns選單

This commit is contained in:
Yuan Chiu 2025-06-02 22:23:53 +08:00
parent e35d7d24bd
commit ca78833c57
Signed by: yuan
GPG Key ID: 50FBE4156404B98D

View File

@ -34,7 +34,7 @@ return {
local options local options
if ft == "neo-tree" then if ft == "neo-tree" then
options = "neo-tree" options = "neo-tree"
elseif in_signcolumn and is_git_buf and has_hunks then elseif in_signcolumn and is_git_buf then
options = "gitsigns" options = "gitsigns"
else else
options = "default" options = "default"