Skip to content

Commit

Permalink
Revert #1200, due to bug (#1205) it introduced.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilRunninger committed Jan 18, 2021
1 parent 7e17138 commit a7eb011
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions autoload/nerdtree/ui_glue.vim
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ endfunction
function! s:initCustomOpenArgs() abort
let l:defaultOpenArgs = {'file': {'reuse': 'all', 'where': 'p'}, 'dir': {}}
let l:customOpenArgs = get(g:, 'NERDTreeCustomOpenArgs', {})
return extend(l:customOpenArgs, l:defaultOpenArgs, 'keep')

if v:false is# s:validateType(l:customOpenArgs, v:t_dict)
return l:defaultOpenArgs
Expand Down

0 comments on commit a7eb011

Please sign in to comment.