Added rust plugin to vim
Signed-off-by: Marko Korhonen <marko.korhonen@reekynet.com>
This commit is contained in:
parent
f754ae0e4e
commit
2ea90700b9
2 changed files with 4 additions and 0 deletions
|
@ -46,6 +46,7 @@ Plug 'junegunn/fzf'
|
|||
Plug 'junegunn/fzf.vim'
|
||||
|
||||
" Syntax plugins
|
||||
Plug 'rust-lang/rust.vim'
|
||||
Plug 'stephpy/vim-yaml'
|
||||
Plug 'vim-pandoc/vim-pandoc-syntax'
|
||||
Plug 'kevinoid/vim-jsonc'
|
||||
|
|
|
@ -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…
Reference in a new issue