diff options
| author | tamago324 <tamago_pad@yahoo.co.jp> | 2020-12-28 01:15:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-27 17:15:52 +0100 |
| commit | e555cd375f6c1e384a1c39a9c7c445a1c3aff8e0 (patch) | |
| tree | 673da674f50d4bc3a39594353d044d65662770bf /lua/telescope/builtin/git.lua | |
| parent | 3e884e863a37644838037ef5110be6678533667b (diff) | |
feat: all entry_makers are now overridable and icons for builtin.buffers (#364)
Diffstat (limited to 'lua/telescope/builtin/git.lua')
| -rw-r--r-- | lua/telescope/builtin/git.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/telescope/builtin/git.lua b/lua/telescope/builtin/git.lua index 06779ea..df88c4d 100644 --- a/lua/telescope/builtin/git.lua +++ b/lua/telescope/builtin/git.lua @@ -35,7 +35,7 @@ git.commits = function(opts) prompt_title = 'Git Commits', finder = finders.new_table { results = results, - entry_maker = make_entry.gen_from_git_commits(opts), + entry_maker = opts.entry_maker or make_entry.gen_from_git_commits(opts), }, previewer = previewers.git_commit_diff.new(opts), sorter = conf.file_sorter(opts), @@ -54,7 +54,7 @@ git.bcommits = function(opts) prompt_title = 'Git BCommits', finder = finders.new_table { results = results, - entry_maker = make_entry.gen_from_git_commits(opts), + entry_maker = opts.entry_maker or make_entry.gen_from_git_commits(opts), }, previewer = previewers.git_commit_diff.new(opts), sorter = conf.file_sorter(opts), |
