mirror of
https://github.com/prabirshrestha/asyncomplete.vim.git
synced 2025-12-14 20:35:41 +01:00
Add instructions for displaying the preview window (#198)
This commit is contained in:
committed by
GitHub
parent
91ac1f6e6f
commit
fc5c227e2b
12
README.md
12
README.md
@@ -54,16 +54,14 @@ inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||
|
||||
#### Preview Window
|
||||
|
||||
To disable preview window:
|
||||
|
||||
```vim
|
||||
set completeopt-=preview
|
||||
```
|
||||
|
||||
To enable preview window:
|
||||
|
||||
```vim
|
||||
set completeopt+=preview
|
||||
" allow modifying the completeopt variable, or it will
|
||||
" be overridden all the time
|
||||
let g:asyncomplete_auto_completeopt = 0
|
||||
|
||||
set completeopt=menuone,noinsert,noselect,preview
|
||||
```
|
||||
|
||||
To auto close preview window when completion is done.
|
||||
|
||||
Reference in New Issue
Block a user