mirror of
https://github.com/preservim/nerdtree.git
synced 2025-01-31 16:45:14 +08:00
Merge pull request #298 from buggo/master
Fix error 121 when clicking on command line below another window
This commit is contained in:
commit
2a769a7263
|
@ -79,6 +79,9 @@ endfunction
|
|||
"If a keymap has the scope of "all" then it will be called if no other keymap
|
||||
"is found for a:key and the scope.
|
||||
function! s:KeyMap.Invoke(key)
|
||||
if !exists('b:NERDTreeRoot')
|
||||
return {}
|
||||
endif
|
||||
let node = g:NERDTreeFileNode.GetSelected()
|
||||
if !empty(node)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user