Skip to content

Instantly share code, notes, and snippets.

@MarcoPolo
Created May 8, 2016 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcoPolo/09b68161f34cddfcf913f1336d2d3d08 to your computer and use it in GitHub Desktop.
Save MarcoPolo/09b68161f34cddfcf913f1336d2d3d08 to your computer and use it in GitHub Desktop.
" vim: ts=4 sw=4 et
function! neomake#makers#ft#rust#EnabledMakers()
return ['rustc']
endfunction
function! neomake#makers#ft#rust#rustc()
return {
\ 'args': ['rustc', '-Zno-trans'],
\ 'exe': 'cargo',
\ 'append_file': 0,
\ 'errorformat':
\ '%-G%f:%s:,' .
\ '%f:%l:%c: %trror: %m,' .
\ '%f:%l:%c: %tarning: %m,' .
\ '%f:%l:%c: %m,'.
\ '%f:%l: %trror: %m,'.
\ '%f:%l: %tarning: %m,'.
\ '%f:%l: %m',
\ }
endfunction
@MarcoPolo
Copy link
Author

uses cargo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment