Skip to content

Conversation

@hendyanto
Copy link

This is specially useful using syntax checker like RuboCop

" 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants