Fix typo for advice.statusHints

This commit is contained in:
Yifan Hu
2024-03-21 00:22:22 -05:00
committed by Tim Pope
parent 8d4e8d4538
commit 193ba9b393

View File

@@ -2994,7 +2994,7 @@ function! fugitive#BufReadStatus(cmdbang) abort
call s:AddHeader(to, 'Error', s:worktree_error)
endif
endif
if get(fugitive#ConfigGetAll('advice.tousHints', config), 0, 'true') !~# '^\%(false\|no|off\|0\|\)$'
if get(fugitive#ConfigGetAll('advice.statusHints', config), 0, 'true') !~# '^\%(false\|no|off\|0\|\)$'
call s:AddHeader(to, 'Help', 'g?')
endif