Skip to content

kspi/cargo-relative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

cargo-relative

A wrapper around Cargo to use it as makeprg in Vim with autochdir set. Only outputs Cargo's stderr and converts paths relative to the project directory to be relative to the current directory.

To use it as makeprg put the following in ~/.vim/after/ftplugin/rust.vim:

compiler rustc
setlocal makeprg=path/to/repository/cargo-relative\ build

Then calling :make in Rust buffers should execute Cargo and properly populate the quickfix buffer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages