Provide Racer support for asyncomplete.vim.
- Install Rust source code and Racer (assuming you have already installed Rust via rustup):
rustup component add rust-src
cargo install racer
- Install this plugin and its dependencies: async.vim and asyncomplete.vim
- Append your Vim configuration file:
autocmd User asyncomplete_setup call asyncomplete#register_source(
\ asyncomplete#sources#racer#get_source_options())
This plugin can be further configured by passing a dictionary to asyncomplete#sources#racer#get_source_options()
like this:
autocmd User asyncomplete_setup call asyncomplete#register_source(
\ asyncomplete#sources#racer#get_source_options({
\ 'config': {
\ 'racer_path': ''
\ }
\ }))
Option | Default Value | Explanation |
---|---|---|
config.racer_path | 'racer' |
Path to the racer binary. If racer cannot be found in PATH , you must specify this manually. |
See LICENSE.