Bug fix, was triggering an error in the command line edit window (ie. the window you get by hitting c-f in command line) after not moving the cursor for a few seconds (ie. when CursorHold event is fired)
This commit is contained in:
parent
5f9021e3e6
commit
ea819684d8
@ -164,7 +164,7 @@ endfunction
|
||||
|
||||
|
||||
function! s:AllowedToCompleteInCurrentFile()
|
||||
if empty( &filetype )
|
||||
if empty( &filetype ) || getbufvar(winbufnr(winnr()), "&buftype") ==# 'nofile'
|
||||
return 0
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user