From 2b881f78a646809fc03677ca4abd4100ae63200f Mon Sep 17 00:00:00 2001 From: Daniel Schuette Date: Thu, 6 Jan 2022 20:01:16 +0100 Subject: [PATCH] add rustfmt fixer --- .bashrc | 4 ++++ vim-config/configs.vim | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 2f27052b..d9957267 100644 --- a/.bashrc +++ b/.bashrc @@ -60,6 +60,10 @@ export PATH #PATH="$GOROOT/bin:$PATH" #export PATH +# Ruby gems location on Manjaro. +PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH" +export PATH + # prevent ranger from loading rc.conf from # /usr/share/doc/config/ and ~/.config/ranger export RANGER_LOAD_DEFAULT_RC=FALSE diff --git a/vim-config/configs.vim b/vim-config/configs.vim index 320e5620..cc532f82 100644 --- a/vim-config/configs.vim +++ b/vim-config/configs.vim @@ -533,7 +533,8 @@ let g:ale_fixers = { \ 'json': ['prettier'], \ 'python': ['isort', 'autopep8'], \ 'elm': ['elm-format'], -\ 'haskell': ['hfmt'] +\ 'haskell': ['hfmt'], +\ 'rust': ['rustfmt'] \} " Totally usable, but needs configuration: 'cpp': ['clang-format'].