Skip to content

Commit

Permalink
Bugfix: allow LunarVim changelog to work outside the lvim directory (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarlow committed Nov 14, 2021
1 parent b0a9ee7 commit a9bf545
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lua/lvim/core/telescope/custom-finders.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function M.grep_lunarvim_files(opts)
end

function M.view_lunarvim_changelog()
local opts = {}
local opts = { cwd = get_lvim_base_dir() }
opts.entry_maker = make_entry.gen_from_git_commits(opts)

pickers.new(opts, {
Expand All @@ -52,8 +52,6 @@ function M.view_lunarvim_changelog()
"log",
"--pretty=oneline",
"--abbrev-commit",
"--",
".",
},
opts
),
Expand Down

0 comments on commit a9bf545

Please sign in to comment.