Run rustfmt on .rs file write
authorSiraaj Khandkar <siraaj@khandkar.net>
Thu, 20 Apr 2023 15:16:47 +0000 (11:16 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Thu, 20 Apr 2023 15:16:47 +0000 (11:16 -0400)
home/.config/nvim/init.vim

index 7399d15..c230a89 100644 (file)
@@ -38,6 +38,9 @@ source ~/.config/nvim/setup-coc.vim
 " NERDTree
 let NERDTreeShowLineNumbers=1
 
+" rust.vim
+let g:rustfmt_autosave = 1
+
 "==============================================================================
 " Defaults
 "==============================================================================
This page took 0.028858 seconds and 4 git commands to generate.