Skip to content

keremc/asyncomplete-racer.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asyncomplete-racer.vim

Provide Racer support for asyncomplete.vim.

Installation

  • 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())

Configuration

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.

License

See LICENSE.