diff options
author | Akshay <[email protected]> | 2024-07-23 20:26:43 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-07-23 20:26:43 +0100 |
commit | ddc6f72c5b1cf6916ef2705b226d0c53950b9386 (patch) | |
tree | 56b1d651dfe18a5e45b8cc6477ff8cb49991d98c /ftplugin/rust.vim |
init
Diffstat (limited to 'ftplugin/rust.vim')
-rw-r--r-- | ftplugin/rust.vim | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim new file mode 100644 index 0000000..50645fa --- /dev/null +++ b/ftplugin/rust.vim | |||
@@ -0,0 +1,13 @@ | |||
1 | setlocal ts=4 sts=4 sw=4 expandtab | ||
2 | |||
3 | set formatprg=rustfmt | ||
4 | set errorformat= | ||
5 | \%-G, | ||
6 | \%-Gerror:\ aborting\ %.%#, | ||
7 | \%-Gerror:\ Could\ not\ compile\ %.%#, | ||
8 | \%Eerror:\ %m, | ||
9 | \%Eerror[E%n]:\ %m, | ||
10 | \%Wwarning:\ %m, | ||
11 | \%Inote:\ %m, | ||
12 | \%C\ %#-->\ %f:%l:%c, | ||
13 | \%E\ \ left:%m,%C\ right:%m\ %f:%l:%c,%Z | ||