aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/asyncomplete.vim
blob: 380d873995315a7ff341b6d41fe490d7990728df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if has('nvim')
    finish
endif

inoremap <expr> <Tab>   pumvisible() ? "\<C-n>" : "\<Tab>"
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
inoremap <expr> <cr>    pumvisible() ? asyncomplete#close_popup() : "\<cr>"

let g:asyncomplete_auto_popup = 1

packadd asyncomplete.vim
packadd asyncomplete-lsp.vim