Skip to content

Commit

Permalink
Add tap to debug status_map
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdalisue committed Jan 31, 2021
1 parent 889552c commit d470328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/fern_git_status.vim
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function! s:on_redraw(helper) abort
\ 'stained_patterns': g:fern_git_status#stained_patterns,
\}
call fern_git_status#investigator#investigate(a:helper, options)
\.then({ m -> fern#logger#tap(m) })
\.then({ m -> map(a:helper.fern.visible_nodes, { -> s:update_node(m, v:val) }) })
\.then({ -> s:redraw(a:helper) })
\.catch({ e -> s:handle_error(e) })
Expand Down

0 comments on commit d470328

Please sign in to comment.