Skip to content

Commit

Permalink
add rustfmt fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchuette committed Jan 6, 2022
1 parent e08d200 commit 2b881f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion vim-config/configs.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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'].

Expand Down

0 comments on commit 2b881f7

Please sign in to comment.