Added rust plugin to vim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
da69031e73
commit
f89c81b50a
2 changed files with 4 additions and 0 deletions
|
@ -7,3 +7,6 @@ let g:vimtex_compiler_progname='nvr'
|
|||
" YAML settings
|
||||
au! BufNewFile,BufReadPost *.{yaml,yml} set filetype=yaml foldmethod=indent
|
||||
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||
|
||||
" Run rustfmt on save
|
||||
let g:rustfmt_autosave = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue