Skip to content

Commit

Permalink
Improve command line window behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Mar 29, 2022
1 parent ae98794 commit b52e60b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions autoload/ddu.vim
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ function! ddu#_request(method, args) abort
endif

if bufname('%') ==# '[Command Line]'
call ddu#util#print_error(
\ 'You cannot execute ddu.vim from command line window')
return {}
" Must quit from command line window
quit
endif

if denops#plugin#wait('ddu')
Expand Down

0 comments on commit b52e60b

Please sign in to comment.