diff --git a/plug.vim b/plug.vim index 36f030a..bd515d5 100644 --- a/plug.vim +++ b/plug.vim @@ -1415,7 +1415,7 @@ function! s:preview_commit() endfunction function! s:section(flags) - call search('\(^- \)\@<=.', a:flags) + call search('\(^[x-] \)\@<=[^:]\+:', a:flags) endfunction function! s:diff()