commit 193fed598ba6792e4f0679a5724279a805f9eb66
parent 461ea6d2d854100f7954c21453bb3b926ad930e6
Author: Jason Franklin <lifecrisis@users.noreply.github.com>
Date: Tue, 12 Dec 2017 09:03:53 -0500
Merge pull request #781 from lifecrisis/find-complete
Change the type of completion used by :NERDTreeFind.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autoload/nerdtree/ui_glue.vim b/autoload/nerdtree/ui_glue.vim
@@ -593,7 +593,7 @@ function! nerdtree#ui_glue#setupCommands()
command! -n=0 -bar NERDTreeClose :call g:NERDTree.Close()
command! -n=1 -complete=customlist,nerdtree#completeBookmarks -bar NERDTreeFromBookmark call g:NERDTreeCreator.CreateTabTree('<args>')
command! -n=0 -bar NERDTreeMirror call g:NERDTreeCreator.CreateMirror()
- command! -n=? -complete=dir -bar NERDTreeFind call s:findAndRevealPath('<args>')
+ command! -n=? -complete=file -bar NERDTreeFind call s:findAndRevealPath('<args>')
command! -n=0 -bar NERDTreeFocus call NERDTreeFocus()
command! -n=0 -bar NERDTreeCWD call NERDTreeCWD()
endfunction