summaryrefslogtreecommitdiff
path: root/autoload/deoplete/handler.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-10 13:43:02 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2020-11-10 13:43:02 +0900
commitc6e9af131ddeede28c3d306401ecf8dec273db85 (patch)
tree87db3a0d03c04bd13b1ecc8067abce8566aff38a /autoload/deoplete/handler.vim
parent4013493395ba5fb7d25efbd47c65a3e3f9542491 (diff)
downloaddeoplete.nvim-c6e9af131ddeede28c3d306401ecf8dec273db85.zip
Enable auto completion in Command Line window
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r--autoload/deoplete/handler.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index 9647013..134385a 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -231,7 +231,7 @@ function! s:is_skip(event) abort
endif
" Check nofile buffers
- if &l:buftype =~# 'nofile'
+ if &l:buftype =~# 'nofile' && bufname('%') !=# '[Command Line]'
let nofile_complete_filetypes = deoplete#custom#_get_option(
\ 'nofile_complete_filetypes')
if index(nofile_complete_filetypes, &l:filetype) < 0