neovim: Enable automatic rust formatting
This commit is contained in:
parent
4efddc6fb8
commit
617b11268d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue