neovim: Enable automatic rust formatting

This commit is contained in:
Sijmen 2019-02-28 10:31:40 +01:00
parent 4efddc6fb8
commit 617b11268d

View file

@ -25,6 +25,7 @@ Plug 'prabirshrestha/vim-lsp'
Plug 'scrooloose/syntastic'
Plug 'tpope/vim-sleuth'
Plug 'tpope/vim-surround'
Plug 'bfrg/vim-cpp-modern'
" Language support
Plug 'artur-shaik/vim-javacomplete2'
@ -262,3 +263,6 @@ endfunction "}}}
""" vim-javacomplete2
autocmd FileType java setlocal omnifunc=javacomplete#Complete
""" rust.vim
let g:rustfmt_autosave = 1