Provide buffer autocompletion source for asyncomplete.vim
Plug 'prabirshrestha/asyncomplete.vim' Plug 'prabirshrestha/asyncomplete-buffer.vim'
call asyncomplete#register_source(asyncomplete#sources#buffer#get_source_options({ \ 'name': 'buffer', \ 'allowlist': ['*'], \ 'blocklist': ['go'], \ 'completor': function('asyncomplete#sources#buffer#completor'), \ 'config': { \ 'max_buffer_size': 5000000, \ }, \ }))
Note: config is optional. max_buffer_size
defaults to 5000000 (5mb). If the buffer size exceeds max_buffer_size
it is ignored. Set max_buffer_size
to -1 for unlimited buffer size.
Clear buffer word cache on events (default: 1
)
let g:asyncomplete_buffer_clear_cache = 1
All the credit goes to the following projects
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4