Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .vim/common_config/01_plugin_config.vim
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ call plug#begin('~/.vim/plugged')
let g:syntastic_javascript_checkers = ['eslint']
let g:syntastic_scss_checkers = ['stylelint']

" Autoformat to follow conventions
Plug 'Chiel92/vim-autoformat'
" Perform Autoformat on save, comment this to disable
au BufWrite * :Autoformat

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think its better to make a keymap to autoformat instead of automatically running autoformat when saving file.


call plug#end()

Expand Down