Ugly hack to fix Error 121 when NERDTree is the active window and clicking on the command line below another window.
This commit is contained in:
parent
b0bb781fc7
commit
24561ad59c
@ -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