Closed katawful closed 3 years ago
Try changing
{ header = {(" Commits in: " .. vim.fn.getcwd())},
type = startShowCurrRepo()},
to
{ header = {(" Commits in: " .. vim.fn.getcwd())},
type = startShowCurrRepo},
By removing the () from the function itself will be past not the output of the function and that is what they expect in their code.
That worked, thanks!!!
When setting
g:startify_lists
in Lua, if you include a function then Startify will fail to implement it like it would for VimscriptVim:
Lua:
Passing a Vimscript function to the Lua config causes the same problem