deoplete-rust icon indicating copy to clipboard operation
deoplete-rust copied to clipboard

Handle racer result containing newlines

Open copy opened this issue 7 years ago • 0 comments

Sometimes when a file doesn't parse, racer seems to return bogus MATCH results containing newlines, such as:

PREFIX 402,405,WAS
MATCH WAS
pub const NO_CACHED_CODE,19,10,/home/fabian/rust/test.rs,Const,pub const WAS
END

Resulting in errors such as this:

screenshot_2018-07-06_11-55-36

copy avatar Jul 06 '18 17:07 copy