From a7eb011e47a9b55bb20b4da981092816f940c932 Mon Sep 17 00:00:00 2001 From: Phil Runninger Date: Sun, 17 Jan 2021 22:16:38 -0500 Subject: [PATCH] Revert #1200, due to bug (#1205) it introduced. --- autoload/nerdtree/ui_glue.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/nerdtree/ui_glue.vim b/autoload/nerdtree/ui_glue.vim index b0cedee..aabd2ee 100644 --- a/autoload/nerdtree/ui_glue.vim +++ b/autoload/nerdtree/ui_glue.vim @@ -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