Skip to content

Commit

Permalink
change git recent
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyangze committed Jan 17, 2023
1 parent 320f541 commit b437564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layers/common/theme-vim-startify.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function! s:gitUntracked()
endfunction

function! s:gitRecent()
let files = systemlist('git log -m -5 --name-only --pretty="format:" HEAD 2>/dev/null | grep "\S" | head -16 | sort | uniq')
let files = systemlist('git log -m -5 --name-only --pretty="format:" HEAD 2>/dev/null | grep "\S" | head -16 | uniq')
return map(files, "{'line': v:val, 'path': v:val}")
endfunction

Expand Down

0 comments on commit b437564

Please sign in to comment.