Skip to content

Commit

Permalink
Close dense-analysis#3205 - Avoid inserting completions by default
Browse files Browse the repository at this point in the history
  • Loading branch information
w0rp committed Aug 29, 2020
1 parent 6e2e51b commit 25b572b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/ale/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ scriptencoding utf-8
" The omnicompletion menu is shown through a special Plug mapping which is
" only valid in Insert mode. This way, feedkeys() won't send these keys if you
" quit Insert mode quickly enough.
inoremap <silent> <Plug>(ale_show_completion_menu) <C-x><C-o>
inoremap <silent> <Plug>(ale_show_completion_menu) <C-x><C-o><C-p>
" If we hit the key sequence in normal mode, then we won't show the menu, so
" we should restore the old settings right away.
nnoremap <silent> <Plug>(ale_show_completion_menu) :call ale#completion#RestoreCompletionOptions()<CR>
Expand Down

0 comments on commit 25b572b

Please sign in to comment.