diff --git a/config/nvim/init.vim b/config/nvim/init.vim index cb25087..cb4c6ea 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -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