Skip to content

Commit

Permalink
deoplete-rust: add shorthand home (~) expansion
Browse files Browse the repository at this point in the history
Previously, only absolute paths were required, this change allows to use
paths relative to the home directory shorthand command (~)

Fixes: sebastianmarkow#4

Signed-off-by: Antonio Gutierrez <[email protected]>
  • Loading branch information
chibby0ne committed Sep 17, 2018
1 parent 0a86e50 commit d01d691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/deoplete-rust.vim
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ let s:save_cpoptions = &cpoptions
set cpoptions&vim

let g:deoplete#sources#rust#racer_binary=
\ get(g:, 'deoplete#sources#rust#racer_binary', '')
\ expand(get(g:, 'deoplete#sources#rust#racer_binary', ''))

let g:deoplete#sources#rust#rust_source_path=
\ get(g:, 'deoplete#sources#rust#rust_source_path', '')
\ expand(get(g:, 'deoplete#sources#rust#rust_source_path', ''))

let g:deoplete#sources#rust#documentation_max_height=
\ get(g:, 'deoplete#sources#rust#documentation_max_height', 20)
Expand Down

0 comments on commit d01d691

Please sign in to comment.